The macports apache/php implementation I have does not put x=x.so entries in php.ini... it wraps them in ini files in the directory local/lib/php/extensions/no-debug-non-zts-20090626

There I created a mongo.ini file which contains

; Do not edit this file; it is automatically generated by MacPorts.
; Any changes you make will be lost if you upgrade or uninstall php5-mysql.
; To configure PHP, edit /opt/local/etc/php5/php.ini.
extension=mongo.so 
-------- Original Message --------
Subject: Re: Mongo ... where did it go?
From: Phillip Koebbe <phillip.koe...@gmail.com>
Date: Sun, June 17, 2012 2:13 pm
To: MacPorts -Users <macports-users@lists.macosforge.org>


On Jun 17, 2012, at 4:06 PM, j...@ayendesigns.com wrote:

The framework that needs to use mongo (drupal) reports that mongo isn't present...so that's in keeping with there not appearing to be a php extension nor any mention in phpinfo.

I had apache/mysql/php5.3 up and running, and installed mongodb.  The install went without any errors. I then installed php53-mongo, and again, no errors.

The problem is I don't see any ini file where the other php installs are, such as mcrypt, mysql, etc, and see no mention of mongo in phpinfo.

Yes, I restarted apache.


On the PHP driver page [1] it says you need to add a line to your php.ini:

extension=mongo.so

Did you do that?



Phillip

_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to