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!

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.

×
2 answers

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.

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

  • @electricjet

    In some cases, in my experience, the php5-* init script from the repository packages does not always properly function (i.e. I’ve ran in to instances where php5-fpm doesn’t actually kill off the existing processes). In such a case, it’s a good idea to run service php5-fpm stop and then confirm that there are no existing processes still running.

    You can effectively kill any processes by running:

    killall -9 php5-fpm
    
Submit an Answer