Skip to content

Commit ee2b043

Browse files
committed
[Fixed] Fixed issue with inserting imagick extension for correct php version
1 parent 1c6e915 commit ee2b043

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

serverpilot-scripts.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ if [ "$imagick" = "y" ] || [ $run_all = true ]; then
117117
(eval "pecl${php_version}-sp install imagick")
118118

119119
show_info "Enabling Imagick Extension..."
120-
bash -c "echo extension=imagick.so > /etc/phpX.Y-sp/conf.d/imagick.ini"
120+
bash -c "echo extension=imagick.so > /etc/php${php_version}-sp/conf.d/imagick.ini"
121121

122122
show_info "Restarting PHP FPM..."
123123
(eval "service php${php_version}-fpm-sp restart")

0 commit comments

Comments
 (0)