I installed on the Windows machine is a XAMPP system, in the local Apache Web server, using PHP to write server side, has been working normally.
A recent project, using SSL, Zend Framework, jquery, and so on, recurring but random and non-repeatable, when submitting a PHP Web page, Web server returned a blank page, I checked the HTTP respond, the status code is 200 , it should be normal, but why is the returned content empty?
Sometimes a few refreshes, this blank page becomes the normal page.
I have checked the log file as if there were no HTTP request errors or PHP errors.
Ask the cows, what could be the cause? Or, where do I need to start debugging?
Reply content:
I installed on the Windows machine is a XAMPP system, in the local Apache Web server, using PHP to write server side, has been working normally.
A recent project, using SSL, Zend Framework, jquery, and so on, recurring but random and non-repeatable, when submitting a PHP Web page, Web server returned a blank page, I checked the HTTP respond, the status code is 200 , it should be normal, but why is the returned content empty?
Sometimes a few refreshes, this blank page becomes the normal page.
I have checked the log file as if there were no HTTP request errors or PHP errors.
Ask the cows, what could be the cause? Or, where do I need to start debugging?
The symptoms are highly suspect PHP errors. Review the Phpinfo () output, check the php.ini file path, open php.ini, and modify the error-related settings.
display_errors = Onerror_reporting = E_ALL
Set so that you can see the original blank page PHP error content
If a blank page cannot be reproduced, the php.ini
log_errors = Onerror_log = /path/to/error.log
Note that the PHP process should have error.log write permissions. You can see the error in PHP without checking the file regularly.