Found a php very strange about the problem? Cause all Web sites to open,

Source: Internet
Author: User
Tags vps
Find PHP A very strange problem? Cause all sites can not open, help!
The VPS I use is a Linux system that uses the LNMP one-click installation package to build the environment.

Recently installed a WordPress theme, and then modify some of the theme of the code, changed to change the end of the problem did not appear, later in the evening found that the site can not open, not a few minutes and opened, a few clicks and not open, there is no error, Google browser tips 101 error What, But refreshing the error message is not the same. Using third-party tools to detect HTTP status codes is sometimes 200 (which is not open at this time), sometimes 302. In short, the state of the site is a moment can be opened, for a while, two situations in dozens of seconds a few minutes, no rules, and then open the same server under the other sites, found the same problem, it is strange, If it is because of the previous modification of the WordPress code error and can not open that is also a site problem, how could even other sites are involved in it? The directories are different and the programs are different.

Try to restart nginx,php, VPS are not solved

I do not know the great God know what I mean no, site A is a WordPress program, this problem has been modified before the subject code, but the operation of a few hours did not have problems, to the night I found the problem, a station in the/home/www/a directory, B in the/home/www/b directory, A website can not open B site also follow can not open, a could open B also open.

The other thing was that I ran to the theme author's homepage and found that his website was not open.

Is this weird? What's the problem? Thank you for your advice!

------Solution--------------------
PHP I think there are a lot of imperfect places. such as: When I am using ISAPI mode (PHP Version: 5.2.17), in the post upload file process, if the interval for a period of time (a few minutes or more later) submitted again, Randomly causes the Web server to crash. PHP bugs and stability are yet to be perfected.
  • 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.