When I look at the results of phpinfo() it shows my load configuration file as /opt/bitnami/php/etc/php.ini. However, when I make changes to this file and restart apache those changes are not reflected. In fact I tried renaming php.ini and restarting apache and php ran just fine and phpinfo() still reports /opt/bitnami/php/etc/php.ini as the loaded config file even though it doesnt exit.
Asked
Active
Viewed 1,626 times
2 Answers
0
Assuming the "ubuntu" tag is correct, I imagine that Apache is using the php.ini file in its normal place, rather then the one you edited. Try editing /etc/php5/apache2/php.ini

davidgo
- 6,222
- 3
- 23
- 41
0
The Bitnami stack uses php-fpm cacheing so I had to run
sudo /opt/bitnami/ctlscript.sh restart php-fpm

AdamG
- 171
- 5
-
Can you set your answer as solved ? thanks – Froggiz Dec 18 '15 at 12:57