3

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
  • 2
    did you restart the appache after your changes in the php.ini? Commented Oct 11, 2010 at 11:46

5 Answers 5

3

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.

Sign up to request clarification or add additional context in comments.

1 Comment

So you're saying you edited both to display_errors=On and error_reporting=E_ALL, restarted the httpd and still no errors get displayed?
3

Did you restart apache?

1 Comment

For sure I restarted web server it doesn't affect anyway
0

Also set error_reporting to E_ALL

Comments

0

change the following variables in your php.ini

; display_errors
; Default Value: On
; Development Value: On
; Production Value: Off

; display_startup_errors
; Default Value: On
; Development Value: On
; Production Value: Off

; error_reporting
; Default Value: E_ALL & ~E_NOTICE
; Development Value: E_ALL | E_STRICT 
; Production Value: E_ALL & ~E_DEPRECATED

; html_errors 
; Default Value: On 
; Development Value: On 
; Production value: Off

; log_errors
; Default Value: On 
; Development Value: On 
; Production Value: On

Comments

0

I had the same problem:

  1. I changed from display_errors=Off to display_errors=On in /opt/lampp/etc/php.ini file
  2. and restarted lampp sudo /opt/lampp/lampp/restart

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.