1

All I get is a blank page. And, yes, I did read the dozens of similar questions asked.

I want this change to apply to all my scripts, so I went into php.ini. According to phpinfo(), it is located in /etc. So, I went there, and turned error_reporting = E_ALL and error_display = On. Still blank.

Its very frustrating, so I came here. What am I doing wrong? It is PHP5, Apache 2.2.17.

hakre
  • 193,403
  • 52
  • 435
  • 836
Steven Detweiler
  • 151
  • 4
  • 17

3 Answers3

3

The ini-setting is called display_errors not error_display

Dr.Molle
  • 116,463
  • 16
  • 195
  • 201
1

Additionally when using php and having multiple sites on the same host, you can copy the php.ini file into your sub sites and modify it specifically for those sites.

Many times it will not default to the root "public_html" php.ini file and you will need to copy this file in.

Gui Lui
  • 51
  • 1
1

Did you restart apache when you changed php.ini? – Ryan 19 hours ago

That worked! Thanks!

Steven Detweiler
  • 151
  • 4
  • 17