From 89ab800565ee090b9b2c932288735cee743ca57c Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Thu, 7 Mar 2019 16:03:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dphp53=E5=AE=89=E8=A3=85?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/php/versions/53/install.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/plugins/php/versions/53/install.sh b/plugins/php/versions/53/install.sh index a6ded6315..c956376c9 100755 --- a/plugins/php/versions/53/install.sh +++ b/plugins/php/versions/53/install.sh @@ -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 \