|
Just to mention a topic when using MAMP and MAMP PRO:
Be aware that the two apps use DIFFERENT php.ini files!
For example the MAMP uses this
(1) /Applications/MAMP/conf/php5/php.ini
whereas MAMP PRO uses this:
(2) /Applications/MAMP PRO 1.7/MAMP PRO.app/Contents/Resources/php5.ini
Even though both apps are installed when using MAMP PRO, they use different php.ini.
(BTW: Same thing with httpd.conf, my.cnf and php4.ini.)
The problem is, that the phpinfo() says something different, too:
Configuration File (php.ini) Path: /Applications/MAMP/conf/php5
and afterwards in the next line it says:
(3) Loaded Configuration File: /Library/Application Support/living-e/MAMP PRO/conf/php.ini
And to that directory the php.ini from (2) is copied when MAMP PRO ist started.
One can easily see the effekt when changing tbe (3)-File and restart MAMP PRO. The values are reset to the values in (2).
Hope this will helpfull for someone.
Greets
|