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.


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


The Bitnami stack uses php-fpm cacheing so I had to run

sudo /opt/bitnami/ctlscript.sh restart php-fpm
  • Can you set your answer as solved ? thanks
    – Froggiz
    Dec 18 '15 at 12:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.