pull/109/head
midoks 6 years ago
parent 8054751be7
commit 97d8c2aad2
  1. 239
      plugins/php/all_test.sh
  2. 4
      plugins/php/versions/53/install.sh
  3. 2
      plugins/php/versions/54/install.sh
  4. 3
      plugins/php/versions/55/install.sh
  5. 2
      plugins/php/versions/56/install.sh
  6. 3
      plugins/php/versions/70/install.sh
  7. 3
      plugins/php/versions/71/install.sh
  8. 3
      plugins/php/versions/72/install.sh
  9. 4
      plugins/php/versions/73/install.sh
  10. 1
      plugins/php/versions/73/yar.sh
  11. 5
      plugins/php/versions/74/install.sh

@ -3,102 +3,103 @@ export PATH=$PATH:/opt/local/bin:/opt/local/sbin:/opt/local/share/man:/usr/local
DIR=$(cd "$(dirname "$0")"; pwd)
PHP_VER=53
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=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=53
# 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=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
echo $DIR
cd $DIR && /bin/bash install.sh install $PHP_VER
for ii in $cmd_ext
do
if [ "install.sh" == "$ii" ];then
@ -110,33 +111,33 @@ 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"
# 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"

@ -28,7 +28,6 @@ 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
@ -54,6 +53,8 @@ else
OPTIONS="${OPTIONS} --with-curl"
fi
if [ ! -d $serverPath/php/53 ];then
# --enable-intl \
cd $sourcePath/php/php-5.3.29 && ./configure \
--prefix=$serverPath/php/53 \
@ -85,6 +86,7 @@ cd $sourcePath/php/php-5.3.29 && ./configure \
$OPTIONS \
--enable-fpm \
&& make && make install && make clean
fi
if [ -f $serverPath/php/53/bin/php.dSYM ];then

@ -40,6 +40,7 @@ else
OPTIONS="${OPTIONS} --with-curl"
fi
if [ ! -d $serverPath/php/54 ];then
cd $sourcePath/php/php-5.4.45 && ./configure \
--prefix=$serverPath/php/54 \
--exec-prefix=$serverPath/php/54 \
@ -61,6 +62,7 @@ cd $sourcePath/php/php-5.4.45 && ./configure \
$OPTIONS \
--enable-fpm \
&& make && make install && make clean
fi
#------------------------ install end ------------------------------------#
}

@ -37,7 +37,7 @@ else
OPTIONS="${OPTIONS} --with-curl"
fi
if [ ! -d $serverPath/php/55 ];then
cd $sourcePath/php/php-5.5.38 && ./configure \
--prefix=$serverPath/php/55 \
--exec-prefix=$serverPath/php/55 \
@ -60,6 +60,7 @@ cd $sourcePath/php/php-5.5.38 && ./configure \
$OPTIONS \
--enable-fpm \
&& make && make install && make clean
fi
#------------------------ install end ------------------------------------#
}

@ -38,6 +38,7 @@ else
OPTIONS="${OPTIONS} --with-curl"
fi
if [ ! -d $serverPath/php/56 ];then
cd $sourcePath/php/php-5.6.36 && ./configure \
--prefix=$serverPath/php/56 \
--exec-prefix=$serverPath/php/56 \
@ -65,6 +66,7 @@ cd $sourcePath/php/php-5.6.36 && ./configure \
$OPTIONS \
--enable-fpm \
&& make clean && make && make install && make clean
fi
#------------------------ install end ------------------------------------#
}

@ -38,7 +38,7 @@ else
OPTIONS="${OPTIONS} --with-curl"
fi
if [ ! -d $serverPath/php/70 ];then
cd $sourcePath/php/php-7.0.30 && ./configure \
--prefix=$serverPath/php/70 \
--exec-prefix=$serverPath/php/70 \
@ -63,6 +63,7 @@ cd $sourcePath/php/php-7.0.30 && ./configure \
$OPTIONS \
--enable-fpm \
&& make && make install && make clean
fi
#------------------------ install end ------------------------------------#
}

@ -37,7 +37,7 @@ else
OPTIONS="${OPTIONS} --with-curl"
fi
if [ ! -d $serverPath/php/71 ];then
cd $sourcePath/php/php-${version} && ./configure \
--prefix=$serverPath/php/71 \
--exec-prefix=$serverPath/php/71 \
@ -62,6 +62,7 @@ cd $sourcePath/php/php-${version} && ./configure \
$OPTIONS \
--enable-fpm \
&& make && make install && make clean
fi
#------------------------ install end ------------------------------------#
}

@ -38,7 +38,7 @@ else
OPTIONS="${OPTIONS} --with-curl"
fi
if [ ! -d $serverPath/php/72 ];then
cd $sourcePath/php/php-${version} && ./configure \
--prefix=$serverPath/php/72 \
--exec-prefix=$serverPath/php/72 \
@ -63,6 +63,7 @@ cd $sourcePath/php/php-${version} && ./configure \
$OPTIONS \
--enable-fpm \
&& make && make install && make clean
fi
#------------------------ install end ------------------------------------#
}

@ -42,8 +42,7 @@ else
fi
#
#
if [ ! -d $serverPath/php/73 ];then
cd $sourcePath/php/php-${version} && ./configure \
--prefix=$serverPath/php/73 \
--exec-prefix=$serverPath/php/73 \
@ -67,6 +66,7 @@ cd $sourcePath/php/php-${version} && ./configure \
$OPTIONS \
--enable-fpm \
&& make && make install && make clean
fi
#------------------------ install end ------------------------------------#
}

@ -34,7 +34,6 @@ Install_lib()
if [ ! -f "$extFile" ];then
php_lib=$sourcePath/php_lib
mkdir -p $php_lib

@ -42,8 +42,7 @@ else
fi
#
#
if [ ! -d $serverPath/php/74 ];then
cd $sourcePath/php/php-${version} && ./configure \
--prefix=$serverPath/php/74 \
--exec-prefix=$serverPath/php/74 \
@ -67,7 +66,7 @@ cd $sourcePath/php/php-${version} && ./configure \
$OPTIONS \
--enable-fpm \
&& make && make install && make clean
fi
#------------------------ install end ------------------------------------#
}

Loading…
Cancel
Save