Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

3 Answers 3

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

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

max_execution_time = 30     ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
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

Did you restart IIS/Apache after making those changes?

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.