|
|
@ -41,11 +41,11 @@ else |
|
|
|
OPTIONS="${OPTIONS} --with-curl" |
|
|
|
OPTIONS="${OPTIONS} --with-curl" |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
if [ ! -d $serverPath/php/54 ];then |
|
|
|
if [ ! -d $serverPath/php/${PHP_VER} ];then |
|
|
|
cd $sourcePath/php/php${PHP_VER} && ./configure \ |
|
|
|
cd $sourcePath/php/php${PHP_VER} && ./configure \ |
|
|
|
--prefix=$serverPath/php/54 \ |
|
|
|
--prefix=$serverPath/php/${PHP_VER} \ |
|
|
|
--exec-prefix=$serverPath/php/54 \ |
|
|
|
--exec-prefix=$serverPath/php/${PHP_VER} \ |
|
|
|
--with-config-file-path=$serverPath/php/54/etc \ |
|
|
|
--with-config-file-path=$serverPath/php/${PHP_VER}/etc \ |
|
|
|
--with-zlib-dir=$serverPath/lib/zlib \ |
|
|
|
--with-zlib-dir=$serverPath/lib/zlib \ |
|
|
|
--enable-mysqlnd \ |
|
|
|
--enable-mysqlnd \ |
|
|
|
--enable-zip \ |
|
|
|
--enable-zip \ |
|
|
|