diff --git a/plugins/php/versions/74/mongodb.sh b/plugins/php/versions/74/mongodb.sh index 68e660e1c..d0f8c1a54 100755 --- a/plugins/php/versions/74/mongodb.sh +++ b/plugins/php/versions/74/mongodb.sh @@ -12,7 +12,7 @@ serverPath=$(dirname "$rootPath") sourcePath=${serverPath}/source/php LIBNAME=mongodb -LIBV=1.7.5 +LIBV=1.11.1 sysName=`uname` actionType=$1 version=$2 diff --git a/plugins/php/versions/80/mongodb.sh b/plugins/php/versions/80/mongodb.sh index 07b4ece04..d0f8c1a54 100755 --- a/plugins/php/versions/80/mongodb.sh +++ b/plugins/php/versions/80/mongodb.sh @@ -12,7 +12,7 @@ serverPath=$(dirname "$rootPath") sourcePath=${serverPath}/source/php LIBNAME=mongodb -LIBV=1.9.0 +LIBV=1.11.1 sysName=`uname` actionType=$1 version=$2 diff --git a/plugins/php/versions/81/fileinfo.sh b/plugins/php/versions/81/fileinfo.sh index fc2a3adab..78c035840 100755 --- a/plugins/php/versions/81/fileinfo.sh +++ b/plugins/php/versions/81/fileinfo.sh @@ -46,6 +46,12 @@ Install_lib() $serverPath/php/$version/bin/phpize ./configure --with-php-config=$serverPath/php/$version/bin/php-config + + FIND_C99=`cat Makefile|grep c99` + if [ "$FIND_C99" == "" ];then + sed -i $BAK 's/CFLAGS \=/CFLAGS \= -std=c99/g' Makefile + fi + make clean && make && make install && make clean fi