How to install CLI interpreter to run .php file in PhpStorm?

我是研究僧i 提交于 2021-01-29 13:42:54

问题


I'm trying to open a .php file in Chrome for a while now but I couldn't because it seems like it doesn't have interpreter:

PhpStorm PHP CLI setting

Whenever I tried, it keeps on showing Object not found:

Apache error

When I use XAMPP, I have to type localhost just to make it appear but most of the time, it appears as 502 bad gateaway. I really need help because I'm kinda bad at programming.

来源:https://stackoverflow.com/questions/58814468/how-to-install-cli-interpreter-to-run-php-file-in-phpstorm

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!