Does xampp-apachehttpserver often return blank pages for php requests?

Source: Internet
Author: User
Tags blank page zend framework
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.