Ubuntu 15.04 nginx php.ini changes do not work

I have tried everything and read about 10 tutorials. I have tried everything.

I’m trying to increase file size, post size limits for Wordpress and the php.ini changes aren’t reflected in phpinfo.php.

The odd thing is it was working up until this morning. It’s like the original php.ini that I edited during installation was overwritten with the default but now the changes don’t update.

Any help is greatly appreciated!


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Ok I have fixed it by removing PHP and reinstalling. No idea what caused it though.

If the changes don’t do anything, either you’re not editing the right file or you’re not restarting the php service on your machine, depending on how php is configured to be run from your web server.