pull/109/head
midoks 6 years ago
parent 8054751be7
commit 97d8c2aad2
  1. 239
      plugins/php/all_test.sh
  2. 64
      plugins/php/versions/53/install.sh
  3. 44
      plugins/php/versions/54/install.sh
  4. 47
      plugins/php/versions/55/install.sh
  5. 56
      plugins/php/versions/56/install.sh
  6. 51
      plugins/php/versions/70/install.sh
  7. 51
      plugins/php/versions/71/install.sh
  8. 51
      plugins/php/versions/72/install.sh
  9. 50
      plugins/php/versions/73/install.sh
  10. 3
      plugins/php/versions/73/yar.sh
  11. 51
      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,37 +53,40 @@ 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 \
--exec-prefix=$serverPath/php/53 \
--with-config-file-path=$serverPath/php/53/etc \
--with-zlib-dir=$serverPath/lib/zlib \
--enable-zip \
--enable-exif \
--enable-hash \
--enable-libxml \
--enable-simplexml \
--enable-dom \
--enable-filter \
--enable-fileinfo \
--enable-pcntl \
--enable-bcmath \
--enable-xml \
--enable-ftp \
--enable-wddx \
--enable-soap \
--enable-posix \
--enable-sockets \
--enable-mbstring \
--enable-mysqlnd \
--enable-sysvmsg \
--enable-sysvsem \
--enable-sysvshm \
--disable-fileinfo \
$OPTIONS \
--enable-fpm \
&& make && make install && make clean
cd $sourcePath/php/php-5.3.29 && ./configure \
--prefix=$serverPath/php/53 \
--exec-prefix=$serverPath/php/53 \
--with-config-file-path=$serverPath/php/53/etc \
--with-zlib-dir=$serverPath/lib/zlib \
--enable-zip \
--enable-exif \
--enable-hash \
--enable-libxml \
--enable-simplexml \
--enable-dom \
--enable-filter \
--enable-fileinfo \
--enable-pcntl \
--enable-bcmath \
--enable-xml \
--enable-ftp \
--enable-wddx \
--enable-soap \
--enable-posix \
--enable-sockets \
--enable-mbstring \
--enable-mysqlnd \
--enable-sysvmsg \
--enable-sysvsem \
--enable-sysvshm \
--disable-fileinfo \
$OPTIONS \
--enable-fpm \
&& make && make install && make clean
fi
if [ -f $serverPath/php/53/bin/php.dSYM ];then

@ -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 ------------------------------------#
}

@ -37,29 +37,30 @@ else
OPTIONS="${OPTIONS} --with-curl"
fi
cd $sourcePath/php/php-5.5.38 && ./configure \
--prefix=$serverPath/php/55 \
--exec-prefix=$serverPath/php/55 \
--with-config-file-path=$serverPath/php/55/etc \
--with-zlib-dir=$serverPath/lib/zlib \
--enable-mysqlnd \
--enable-zip \
--enable-simplexml \
--enable-intl \
--enable-mbstring \
--enable-sockets \
--enable-ftp \
--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/55 ];then
cd $sourcePath/php/php-5.5.38 && ./configure \
--prefix=$serverPath/php/55 \
--exec-prefix=$serverPath/php/55 \
--with-config-file-path=$serverPath/php/55/etc \
--with-zlib-dir=$serverPath/lib/zlib \
--enable-mysqlnd \
--enable-zip \
--enable-simplexml \
--enable-intl \
--enable-mbstring \
--enable-sockets \
--enable-ftp \
--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 ------------------------------------#
}

@ -38,33 +38,35 @@ else
OPTIONS="${OPTIONS} --with-curl"
fi
cd $sourcePath/php/php-5.6.36 && ./configure \
--prefix=$serverPath/php/56 \
--exec-prefix=$serverPath/php/56 \
--with-config-file-path=$serverPath/php/56/etc \
--with-zlib-dir=$serverPath/lib/zlib \
--with-mysql=mysqlnd \
--with-pdo-mysql=mysqlnd \
--with-mysqli=mysqlnd \
--enable-zip \
--enable-mbstring \
--enable-simplexml \
--enable-intl \
--enable-ftp \
--enable-sockets \
--enable-pcntl \
--enable-shmop \
--enable-intl \
--enable-wddx \
--enable-soap \
--enable-posix \
--enable-sysvmsg \
--enable-sysvsem \
--enable-sysvshm \
--disable-fileinfo \
$OPTIONS \
--enable-fpm \
&& make clean && make && make install && make clean
if [ ! -d $serverPath/php/56 ];then
cd $sourcePath/php/php-5.6.36 && ./configure \
--prefix=$serverPath/php/56 \
--exec-prefix=$serverPath/php/56 \
--with-config-file-path=$serverPath/php/56/etc \
--with-zlib-dir=$serverPath/lib/zlib \
--with-mysql=mysqlnd \
--with-pdo-mysql=mysqlnd \
--with-mysqli=mysqlnd \
--enable-zip \
--enable-mbstring \
--enable-simplexml \
--enable-intl \
--enable-ftp \
--enable-sockets \
--enable-pcntl \
--enable-shmop \
--enable-intl \
--enable-wddx \
--enable-soap \
--enable-posix \
--enable-sysvmsg \
--enable-sysvsem \
--enable-sysvshm \
--disable-fileinfo \
$OPTIONS \
--enable-fpm \
&& make clean && make && make install && make clean
fi
#------------------------ install end ------------------------------------#
}

@ -38,31 +38,32 @@ else
OPTIONS="${OPTIONS} --with-curl"
fi
cd $sourcePath/php/php-7.0.30 && ./configure \
--prefix=$serverPath/php/70 \
--exec-prefix=$serverPath/php/70 \
--with-config-file-path=$serverPath/php/70/etc \
--with-zlib-dir=$serverPath/lib/zlib \
--enable-mysqlnd \
--with-mysqli=mysqlnd \
--with-pdo-mysql=mysqlnd \
--enable-zip \
--enable-mbstring \
--enable-simplexml \
--enable-ftp \
--enable-sockets \
--enable-intl \
--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/70 ];then
cd $sourcePath/php/php-7.0.30 && ./configure \
--prefix=$serverPath/php/70 \
--exec-prefix=$serverPath/php/70 \
--with-config-file-path=$serverPath/php/70/etc \
--with-zlib-dir=$serverPath/lib/zlib \
--enable-mysqlnd \
--with-mysqli=mysqlnd \
--with-pdo-mysql=mysqlnd \
--enable-zip \
--enable-mbstring \
--enable-simplexml \
--enable-ftp \
--enable-sockets \
--enable-intl \
--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 ------------------------------------#
}

@ -37,31 +37,32 @@ else
OPTIONS="${OPTIONS} --with-curl"
fi
cd $sourcePath/php/php-${version} && ./configure \
--prefix=$serverPath/php/71 \
--exec-prefix=$serverPath/php/71 \
--with-config-file-path=$serverPath/php/71/etc \
--with-zlib-dir=$serverPath/lib/zlib \
--enable-mysqlnd \
--with-mysqli=mysqlnd \
--with-pdo-mysql=mysqlnd \
--enable-zip \
--enable-mbstring \
--enable-simplexml \
--enable-ftp \
--enable-wddx \
--enable-sockets \
--enable-intl \
--enable-soap \
--enable-posix \
--enable-sysvmsg \
--enable-sysvsem \
--enable-sysvshm \
--disable-fileinfo \
$OPTIONS \
--enable-fpm \
&& make && make install && make clean
if [ ! -d $serverPath/php/71 ];then
cd $sourcePath/php/php-${version} && ./configure \
--prefix=$serverPath/php/71 \
--exec-prefix=$serverPath/php/71 \
--with-config-file-path=$serverPath/php/71/etc \
--with-zlib-dir=$serverPath/lib/zlib \
--enable-mysqlnd \
--with-mysqli=mysqlnd \
--with-pdo-mysql=mysqlnd \
--enable-zip \
--enable-mbstring \
--enable-simplexml \
--enable-ftp \
--enable-wddx \
--enable-sockets \
--enable-intl \
--enable-soap \
--enable-posix \
--enable-sysvmsg \
--enable-sysvsem \
--enable-sysvshm \
--disable-fileinfo \
$OPTIONS \
--enable-fpm \
&& make && make install && make clean
fi
#------------------------ install end ------------------------------------#
}

@ -38,31 +38,32 @@ else
OPTIONS="${OPTIONS} --with-curl"
fi
cd $sourcePath/php/php-${version} && ./configure \
--prefix=$serverPath/php/72 \
--exec-prefix=$serverPath/php/72 \
--with-config-file-path=$serverPath/php/72/etc \
--with-zlib-dir=$serverPath/lib/zlib \
--enable-mysqlnd \
--with-mysqli=mysqlnd \
--with-pdo-mysql=mysqlnd \
--enable-zip \
--enable-mbstring \
--enable-simplexml \
--enable-sockets \
--enable-intl \
--enable-ftp \
--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/72 ];then
cd $sourcePath/php/php-${version} && ./configure \
--prefix=$serverPath/php/72 \
--exec-prefix=$serverPath/php/72 \
--with-config-file-path=$serverPath/php/72/etc \
--with-zlib-dir=$serverPath/lib/zlib \
--enable-mysqlnd \
--with-mysqli=mysqlnd \
--with-pdo-mysql=mysqlnd \
--enable-zip \
--enable-mbstring \
--enable-simplexml \
--enable-sockets \
--enable-intl \
--enable-ftp \
--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 ------------------------------------#
}

@ -42,31 +42,31 @@ else
fi
#
#
cd $sourcePath/php/php-${version} && ./configure \
--prefix=$serverPath/php/73 \
--exec-prefix=$serverPath/php/73 \
--with-config-file-path=$serverPath/php/73/etc \
--enable-mysqlnd \
--with-mysqli=mysqlnd \
--with-pdo-mysql=mysqlnd \
--enable-mbstring \
--with-zlib-dir=$serverPath/lib/zlib \
--enable-ftp \
--enable-sockets \
--enable-simplexml \
--enable-intl \
--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/73 ];then
cd $sourcePath/php/php-${version} && ./configure \
--prefix=$serverPath/php/73 \
--exec-prefix=$serverPath/php/73 \
--with-config-file-path=$serverPath/php/73/etc \
--enable-mysqlnd \
--with-mysqli=mysqlnd \
--with-pdo-mysql=mysqlnd \
--enable-mbstring \
--with-zlib-dir=$serverPath/lib/zlib \
--enable-ftp \
--enable-sockets \
--enable-simplexml \
--enable-intl \
--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 ------------------------------------#
}

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

@ -42,32 +42,31 @@ else
fi
#
#
cd $sourcePath/php/php-${version} && ./configure \
--prefix=$serverPath/php/74 \
--exec-prefix=$serverPath/php/74 \
--with-config-file-path=$serverPath/php/74/etc \
--enable-mysqlnd \
--with-mysqli=mysqlnd \
--with-pdo-mysql=mysqlnd \
--enable-mbstring \
--with-zlib-dir=$serverPath/lib/zlib \
--enable-ftp \
--enable-sockets \
--enable-simplexml \
--enable-intl \
--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/74 ];then
cd $sourcePath/php/php-${version} && ./configure \
--prefix=$serverPath/php/74 \
--exec-prefix=$serverPath/php/74 \
--with-config-file-path=$serverPath/php/74/etc \
--enable-mysqlnd \
--with-mysqli=mysqlnd \
--with-pdo-mysql=mysqlnd \
--enable-mbstring \
--with-zlib-dir=$serverPath/lib/zlib \
--enable-ftp \
--enable-sockets \
--enable-simplexml \
--enable-intl \
--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 ------------------------------------#
}

Loading…
Cancel
Save