Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've appended these in my php.ini and still can't get any php errors to display

display_errors = on
display_startup_errors = on
error_reporting = E_ALL
html_errors = on
log_errors = on

here's a copy of my php.ini

This is my first time using SSH to administer a server of any kind, thank you for taking the time to read this

So apprently there's two php.ini files? I had to edit this one:


Now it works great!

share|improve this question
If you solved the problem, please post the answer for the benefit of others. Welcome to Server Fault! – Michael Hampton Feb 10 '13 at 2:42

Did you restart apache after making these changes? Is your app perhaps using ini_set to override these settings?

share|improve this answer
yes i've restarted apache and I've been using just a quick php to make an error of any kind appear like: <?php if(x){ ?> and instead of getting an error in the browser, the page doesn't display at all. – Silas Feb 9 '13 at 22:47
here's a copy of my .ini file – Silas Feb 9 '13 at 22:52
Ah, that explains, you just added some values at the bottom. Those settings are set earlier in the file as well and the first one wins. – Dennis Kaarsemaker Feb 9 '13 at 23:31

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.