phpstorm cannot open the php file when running it. The browser prompts "bad gateway". At this time, you need to configure phpstorm to use the PHP interpreter (that is, let PHPStorm find the php.exe file)
Method 1: A "configured" prompt appears in the lower right corner of the compiler, click "configure PHP Interpreter".
PhpStorm Usage Tutorial"
Method 2: Click "File->Settings", and open PHP language configuration.The above is the detailed content of What should I do if phpstorm cannot open php?. For more information, please follow other related articles on the PHP Chinese website!