Search code examples
phpapachedebugginglamp

LAMP display php errors


I've installed developer's LAMP server and made changes on php.ini

display_errors On

display_startup_errors On

but it doesn't display any errors or even a little warning, what's the problem, what's wrong?


Solution

  • Keep in mind that most systems have two php.ini files, one for the webserver and one for the command line. Do a phpinfo() to see which one you need to edit.