Reputation: 11649
When I modify the php.ini document found in
Applications/MAMP/conf/php5/php.ini
The changes are not reflected in the php info page in the MAMP interface
WHY?
Upvotes: 1
Views: 14671
Reputation: 10541
You need to restart MAMP (Or indeed any Apache Server) for changes in php.ini to take effect. Restart MAMP using the GUI.
If you are still experiencing no changes, it's possible you are editing the wrong php.ini file. In MAMP, each php version has it's own php.ini file.
To make utterly sure you are editing the right php.ini file, use the following steps:
Type
<?php phpinfo(); ?>
and save it in MAMP's htdocs directory.
Save it as index.php
I understand this instructions may be hard to follow, but just contact me if you want to use team viewer or something to get this working! Good luck
Upvotes: 6
Reputation: 5122
It seems that there are 2 php.ini files in the MAMP installation. The one that seems to be parsed in my case is not in the config/
folder but in the bin/php/php5.3.14/conf/php.ini
Upvotes: 0
Reputation: 17525
Possible answers:
Upvotes: 1