Take the 2-minute tour ×

I'm getting a white screen every time a PHP application drops an error. I checked php.ini and error_reporting = E_ALL and display_errors = On Also I checked with the php_info() function and error_reporting is set to 6135 which is correct.

I already tried adding: error_reporting(E_ALL); ini_set('display_errors', TRUE); to my index.php but didn't worked.

Also I don't have any custom error handler function. Does anybody what else can cause a white screen in PHP?

by the way, it's not caused by an unclosed bracket neither, if I intentionally leave an error in the index.php it is displayed.

But when I try to load a heavy page, the white screen is displayed. I'm using the same MySql server for other applications without problems.

share|improve this question
I think that the reason may be that the application is too heavy and it's making Apache to fail without loging anything –  flupkear Aug 3 '09 at 17:51
add comment

3 Answers

Did you restart IIS/Apache after making those changes?

share|improve this answer
add comment

maybe take a look at error_log ?

share|improve this answer
I just did and nothing is logged –  flupkear Aug 3 '09 at 17:44
add comment

maybe memory leak or max execution time are the problem .. try increasing them in php.ini

memory_limit = 80M      ; Maximum amount of memory a script may consume (8MB)
share|improve this answer
thanks, I already modified those and didn't fixed it –  flupkear Aug 3 '09 at 17:46
so Try looking to the apache error_log may be it could be helpful. –  Houssem Aug 4 '09 at 8:26
add comment

Your Answer

