Browse Source

Merge pull request #1516 from TechEmpower/phalcon-mongodb-1401

Added MongoDB client to PHP install scripts. Fixes #1401
Brittany Mazza 10 years ago
parent
commit
a4d2fd19f9

+ 1 - 0
config/php.ini

@@ -870,6 +870,7 @@ zend_extension=opcache.so
 extension=redis.so
 extension=phalcon.so
 extension=yaf.so
+extension=mongo.so
 ;extension=php_bz2.dll
 ;extension=php_curl.dll
 ;extension=php_fileinfo.dll

+ 1 - 0
frameworks/PHP/php-phalcon/app/views/layouts/mongobench.volt

@@ -0,0 +1 @@
+<!DOCTYPE html><html><head><title>Fortunes</title></head><body>{{ content() }}</body></html>

+ 2 - 0
toolset/setup/linux/languages/php.sh

@@ -49,6 +49,8 @@ printf "\n" | $IROOT/php-${VERSION}/bin/pecl -q install -f redis
 # yaf.so
 printf "\n" | $IROOT/php-${VERSION}/bin/pecl -q install -f yaf
 
+printf "\n" | $IROOT/php-${VERSION}/bin/pecl -q install -f mongo
+
 # phalcon.so
 #   The configure seems broken, does not respect prefix. If you 
 #   update the value of PATH then it finds the prefix from `which php`