diff --git a/plugins/php/all_test.sh b/plugins/php/all_test.sh index 5b9ae13b5..f66d732e5 100644 --- a/plugins/php/all_test.sh +++ b/plugins/php/all_test.sh @@ -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" + + diff --git a/plugins/php/versions/53/mongo.sh b/plugins/php/versions/53/mongo.sh index e48eafacd..c4a942a29 100755 --- a/plugins/php/versions/53/mongo.sh +++ b/plugins/php/versions/53/mongo.sh @@ -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