This commit is contained in:
parent
9f64e31be7
commit
99ef4b52f0
|
|
@ -18,3 +18,125 @@ done
|
|||
echo "php${PHP_VER} -- end"
|
||||
|
||||
|
||||
|
||||
PHP_VER=54
|
||||
echo "php${PHP_VER} -- start"
|
||||
cmd_ext=$(ls -l $DIR/versions/$PHP_VER/ |awk '{print $9}')
|
||||
cd $DIR/versions/$PHP_VER && sh install.sh
|
||||
for ii in $cmd_ext
|
||||
do
|
||||
if [ "install.sh" == "$ii" ];then
|
||||
echo ''
|
||||
else
|
||||
cd $DIR/versions/$PHP_VER && /bin/bash $ii install $PHP_VER
|
||||
fi
|
||||
done
|
||||
echo "php${PHP_VER} -- end"
|
||||
|
||||
|
||||
PHP_VER=55
|
||||
echo "php${PHP_VER} -- start"
|
||||
cmd_ext=$(ls -l $DIR/versions/$PHP_VER/ |awk '{print $9}')
|
||||
cd $DIR/versions/$PHP_VER && sh install.sh
|
||||
for ii in $cmd_ext
|
||||
do
|
||||
if [ "install.sh" == "$ii" ];then
|
||||
echo ''
|
||||
else
|
||||
cd $DIR/versions/$PHP_VER && /bin/bash $ii install $PHP_VER
|
||||
fi
|
||||
done
|
||||
echo "php${PHP_VER} -- end"
|
||||
|
||||
|
||||
PHP_VER=56
|
||||
echo "php${PHP_VER} -- start"
|
||||
cmd_ext=$(ls -l $DIR/versions/$PHP_VER/ |awk '{print $9}')
|
||||
cd $DIR/versions/$PHP_VER && sh install.sh
|
||||
for ii in $cmd_ext
|
||||
do
|
||||
if [ "install.sh" == "$ii" ];then
|
||||
echo ''
|
||||
else
|
||||
cd $DIR/versions/$PHP_VER && /bin/bash $ii install $PHP_VER
|
||||
fi
|
||||
done
|
||||
echo "php${PHP_VER} -- end"
|
||||
|
||||
|
||||
|
||||
PHP_VER=70
|
||||
echo "php${PHP_VER} -- start"
|
||||
cmd_ext=$(ls -l $DIR/versions/$PHP_VER/ |awk '{print $9}')
|
||||
cd $DIR/versions/$PHP_VER && sh install.sh
|
||||
for ii in $cmd_ext
|
||||
do
|
||||
if [ "install.sh" == "$ii" ];then
|
||||
echo ''
|
||||
else
|
||||
cd $DIR/versions/$PHP_VER && /bin/bash $ii install $PHP_VER
|
||||
fi
|
||||
done
|
||||
echo "php${PHP_VER} -- end"
|
||||
|
||||
|
||||
PHP_VER=71
|
||||
echo "php${PHP_VER} -- start"
|
||||
cmd_ext=$(ls -l $DIR/versions/$PHP_VER/ |awk '{print $9}')
|
||||
cd $DIR/versions/$PHP_VER && sh install.sh
|
||||
for ii in $cmd_ext
|
||||
do
|
||||
if [ "install.sh" == "$ii" ];then
|
||||
echo ''
|
||||
else
|
||||
cd $DIR/versions/$PHP_VER && /bin/bash $ii install $PHP_VER
|
||||
fi
|
||||
done
|
||||
echo "php${PHP_VER} -- end"
|
||||
|
||||
|
||||
PHP_VER=72
|
||||
echo "php${PHP_VER} -- start"
|
||||
cmd_ext=$(ls -l $DIR/versions/$PHP_VER/ |awk '{print $9}')
|
||||
cd $DIR/versions/$PHP_VER && sh install.sh
|
||||
for ii in $cmd_ext
|
||||
do
|
||||
if [ "install.sh" == "$ii" ];then
|
||||
echo ''
|
||||
else
|
||||
cd $DIR/versions/$PHP_VER && /bin/bash $ii install $PHP_VER
|
||||
fi
|
||||
done
|
||||
echo "php${PHP_VER} -- end"
|
||||
|
||||
|
||||
PHP_VER=73
|
||||
echo "php${PHP_VER} -- start"
|
||||
cmd_ext=$(ls -l $DIR/versions/$PHP_VER/ |awk '{print $9}')
|
||||
cd $DIR/versions/$PHP_VER && sh install.sh
|
||||
for ii in $cmd_ext
|
||||
do
|
||||
if [ "install.sh" == "$ii" ];then
|
||||
echo ''
|
||||
else
|
||||
cd $DIR/versions/$PHP_VER && /bin/bash $ii install $PHP_VER
|
||||
fi
|
||||
done
|
||||
echo "php${PHP_VER} -- end"
|
||||
|
||||
|
||||
PHP_VER=74
|
||||
echo "php${PHP_VER} -- start"
|
||||
cmd_ext=$(ls -l $DIR/versions/$PHP_VER/ |awk '{print $9}')
|
||||
cd $DIR/versions/$PHP_VER && sh install.sh
|
||||
for ii in $cmd_ext
|
||||
do
|
||||
if [ "install.sh" == "$ii" ];then
|
||||
echo ''
|
||||
else
|
||||
cd $DIR/versions/$PHP_VER && /bin/bash $ii install $PHP_VER
|
||||
fi
|
||||
done
|
||||
echo "php${PHP_VER} -- end"
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -39,9 +39,12 @@ Install_lib()
|
|||
OPTIONS=''
|
||||
if [ $sysName == 'Darwin' ]; then
|
||||
OPTIONS="--with-openssl-dir=/usr/local/Cellar/openssl/1.0.2q"
|
||||
fi
|
||||
fi
|
||||
|
||||
cd $php_lib && tar xvf ${LIBNAME}-${LIBV}.tgz
|
||||
if [ -f $php_lib/${LIBNAME}-${LIBV} ];then
|
||||
cd $php_lib && tar xvf ${LIBNAME}-${LIBV}.tgz
|
||||
fi
|
||||
|
||||
cd ${LIBNAME}-${LIBV}
|
||||
$serverPath/php/$version/bin/phpize
|
||||
./configure --with-php-config=$serverPath/php/$version/bin/php-config $OPTIONS
|
||||
|
|
|
|||
Loading…
Reference in New Issue