I am currently setting up my New Mac Mini Lion server. I am now installing mongodb and apc extension. I want to include the ini settings for the extensions on the /etc/php.d directory (similar with my server settings on centOS)
I tried to do
php -i | grep php.d
and it gives me
Scan this dir for additional .ini files => /etc/php.d/ Additional .ini files parsed => /etc/php.d/apc.ini, /etc/php.d/mongo.ini PHP_INI_SCAN_DIR => /etc/php.d/ _SERVER["PHP_INI_SCAN_DIR"] => /etc/php.d/
But when I tried on phpinfo() on a php script, I got:
Configuration File (php.ini) Path /etc Loaded Configuration File /private/etc/php.ini Scan this dir for additional .ini files (none) Additional .ini files parsed (none)
The php environment on CLI and php script is the same which php
and on php script page
Is there anything I should set on the apache side?
I am thinking to stick with the Built-in apache and php from the mac installation because I like the Server App from Mac.
Please help me.