修复php53安装问题

This commit is contained in:
Mr Chen
2019-03-07 16:03:16 +08:00
parent 349741b31b
commit 89ab800565
+16
View File
@@ -32,6 +32,22 @@ if [ ! -d $sourcePath/php/php-5.3.29 ];then
fi
if [ -f $serverPath/php/53/bin/php.dSYM ];then
mv $serverPath/php/53/bin/php.dSYM $serverPath/php/53/bin/php
fi
if [ -f $serverPath/php/53/sbin/php-fpm.dSYM ];then
mv $serverPath/php/53/sbin/php-fpm.dSYM $serverPath/php/53/sbin/php-fpm
fi
if [ -f $serverPath/php/53/bin/php ];then
return
fi
#echo 'going?'
cd $sourcePath/php/php-5.3.29 && ./configure \
--prefix=$serverPath/php/53 \
--exec-prefix=$serverPath/php/53 \