: This article mainly introduces the cause of error 502 reported by PHPStrom when uploading files. if you are interested in the PHP Tutorial, please refer to it. PhpStorm is a lightweight and convenient php ide with its own
ApacheSimilar compilers can
ApacheIt is suitable for beginners of PHPStrom.
However, I found a problem, that is, when using PHPStrom for the upload operation, it will cause the PHPStrom compiler to crash. at first, I thought it was an environmental problem, to this end, a system was reinstalled. After several exclusion tests, we found that it was not the cause of the environmental problem.
So how can we solve it? that is, you don't need to use the PHPStrom IDE compiler.ApacheThe compiler can solve this problem.
For example, the PHPStrom port number is 63342, whileApacheThe port number is 8080.ApachePort number. can this problem be solved?
No, not yet, becauseApacheThere are two solutions for specifying the access path. one is to move the file to the default path or change the default path to the current file.
Modify DocumentRoot C:/in httpd. conf :/Apache/Htdocs: modify the path of your current file.
The above describes the cause of the 502 error reported by PHPStrom file uploading, including Apache content. I hope my friends who are interested in PHP tutorials will be helpful.