diff --git a/plugins/php/versions/54/install.sh b/plugins/php/versions/54/install.sh index 9ab7bc1b6..65a9afa8f 100755 --- a/plugins/php/versions/54/install.sh +++ b/plugins/php/versions/54/install.sh @@ -41,11 +41,11 @@ else OPTIONS="${OPTIONS} --with-curl" fi -if [ ! -d $serverPath/php/54 ];then +if [ ! -d $serverPath/php/${PHP_VER} ];then cd $sourcePath/php/php${PHP_VER} && ./configure \ - --prefix=$serverPath/php/54 \ - --exec-prefix=$serverPath/php/54 \ - --with-config-file-path=$serverPath/php/54/etc \ + --prefix=$serverPath/php/${PHP_VER} \ + --exec-prefix=$serverPath/php/${PHP_VER} \ + --with-config-file-path=$serverPath/php/${PHP_VER}/etc \ --with-zlib-dir=$serverPath/lib/zlib \ --enable-mysqlnd \ --enable-zip \