Skip to content

Commit 27ded71

Browse files
committed
mongodb扩展更换本地安装
1 parent c1a15e4 commit 27ded71

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

extensions/mongodb-1.5.5.tgz

1.01 MB
Binary file not shown.

extensions/php72.sh

+4-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,10 @@ fi
3535

3636
if [ -z "${EXTENSIONS##*,mongodb,*}" ]; then
3737
echo "---------- Install mongodb ----------"
38-
pecl install mongodb
39-
docker-php-ext-enable mongodb
38+
mkdir mongodb \
39+
&& tar -xf mongodb-1.5.5.tgz -C mongodb --strip-components=1 \
40+
&& ( cd mongodb && phpize && ./configure && make ${MC} && make install ) \
41+
&& docker-php-ext-enable mongodb
4042
fi
4143

4244
if [ -z "${EXTENSIONS##*,yaf,*}" ]; then

0 commit comments

Comments
 (0)