This commit is contained in:
midoks
2019-11-29 23:00:04 +08:00
parent 214634606f
commit ed779fd026
11 changed files with 344 additions and 335 deletions
+23 -21
View File
@@ -40,27 +40,29 @@ else
OPTIONS="${OPTIONS} --with-curl"
fi
cd $sourcePath/php/php-5.4.45 && ./configure \
--prefix=$serverPath/php/54 \
--exec-prefix=$serverPath/php/54 \
--with-config-file-path=$serverPath/php/54/etc \
--with-zlib-dir=$serverPath/lib/zlib \
--enable-mysqlnd \
--enable-zip \
--enable-mbstring \
--enable-sockets \
--enable-ftp \
--enable-simplexml \
--enable-wddx \
--enable-soap \
--enable-posix \
--enable-sysvmsg \
--enable-sysvsem \
--enable-sysvshm \
--disable-fileinfo \
$OPTIONS \
--enable-fpm \
&& make && make install && make clean
if [ ! -d $serverPath/php/54 ];then
cd $sourcePath/php/php-5.4.45 && ./configure \
--prefix=$serverPath/php/54 \
--exec-prefix=$serverPath/php/54 \
--with-config-file-path=$serverPath/php/54/etc \
--with-zlib-dir=$serverPath/lib/zlib \
--enable-mysqlnd \
--enable-zip \
--enable-mbstring \
--enable-sockets \
--enable-ftp \
--enable-simplexml \
--enable-wddx \
--enable-soap \
--enable-posix \
--enable-sysvmsg \
--enable-sysvsem \
--enable-sysvshm \
--disable-fileinfo \
$OPTIONS \
--enable-fpm \
&& make && make install && make clean
fi
#------------------------ install end ------------------------------------#
}