Turning on PHP page errors?

  • Posted June 19, 2014

Excuse the nooby post please :)

I’ve set up a wordpress site on an Ubuntu droplet. It looks like PHP errors are off by default, and I’d like to have them for development.

I’ve editted the php.ini in the apache2 folder but still no errors. phpinfo() is showing show_errors as NO even though I set it to YES in the file. What am I missing?


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.

I bet I didnt restart, let me try that!

Did you restart apache2? If you did, the next thing would be to make sure there isn’t an override in the .htaccess file (somewhere in /var/www/)