Skip to content
Advertisement

Php.ini changes are not taken on Linux Bitnami Ubuntu

I am using a LAMP stack from Bitnami with Ubuntu. I am trying to increase post_max_size in file php.ini.

I changed these values:

JavaScript

Then reset with sudo /opt/bitnami/ctlscript.sh restart php-fpm (taken from the Bitnami documentation). No changes take effect.

I have tried removing all the text from php.ini. I get date errors at the top of phpinfo, but it still shows the post_max_size is 20M. I tried to sudo vi /opt/bitnami/php/etc/php.ini. It is showing all my changes. I run phpinfo(). It says:

JavaScript

It still has the wrong 20 MB as post_max_size. This is nowhere in that INI file. I have looked at all other .ini files on my server, but it is not in any of them. I have stopped and started both php-fpm and Apache to make sure they took down my site, and they both did.

How can I fix this?

Advertisement

Answer

You need to change the file:

JavaScript

And do:

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement