pull/109/head
midoks 3 years ago
parent 499577ba34
commit d48ce43246
  1. 2
      plugins/php/versions/74/mongodb.sh
  2. 2
      plugins/php/versions/80/mongodb.sh
  3. 6
      plugins/php/versions/81/fileinfo.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

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

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

Loading…
Cancel
Save