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? 回答1: 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. 回答2: Did you restart apache? 回答3: Also set error_reporting to E_ALL 回答4: change the following variables in your php.ini ; display