I installed xampp on a windows machine. I used apache as the webserver locally and php as the serverside. It has been running normally for a long time. A recent project uses ssl, zendframework, jquery, and so on. It is regular but random and should not be repeated ,... I installed xampp on a windows machine. I used apache as the web server locally and php as the server side, which has always been running normally.
A recent project uses ssl, zend framework, jquery, and so on. It is regular but random and should not be repeated. When a Php webpage is submitted, the web server returns a blank page, I checked the http respond, and the status code is 200. It should be normal, but why is the returned content blank?
Sometimes, after several refreshes, this blank page becomes a normal webpage.
I checked the log file, as if there were no http request errors or php errors.
Ask the ox, what is the possible cause? Or where do I need to start debugging?
Reply content:
I installed xampp on a windows machine. I used apache as the web server locally and php as the server side, which has always been running normally.
A recent project uses ssl, zend framework, jquery, and so on. It is regular but random and should not be repeated. When a Php webpage is submitted, the web server returns a blank page, I checked the http respond, and the status code is 200. It should be normal, but why is the returned content blank?
Sometimes, after several refreshes, this blank page becomes a normal webpage.
I checked the log file, as if there were no http request errors or php errors.
Ask the ox, what is the possible cause? Or where do I need to start debugging?
For symptoms, see highly suspected PHP errors. view the phpinfo () Output content, check the php. ini file path, open php. ini, and modify error-related settings.
display_errors = Onerror_reporting = E_ALL
Set to display the error message of PHP on the blank page.
If the blank page cannot be reproduced
log_errors = Onerror_log = /path/to/error.log
Note that the PHP process must have the write permission for error. log. If you view the file from time to time, you can see the PHP error.