Question

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

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.