Ubuntu系统内安装PhpStorm运行php文件,网页显示5

2017-09-24  本文已影响0人  xrichardyan

回到phpstorm 右上角显示php解释器没有配置好

please ensure that configured php interpreter built as CGI program

添加本地已经安装好的php interpreter后依然是同样的错误,

网上找了好久,但是大多是在windows上的版本,mac上的说要自己安装php,不能用系统安装的版本

Ubuntu以及旗下的一系列同源系统

只需要在控制台输入:

$ sudo apt-get install php-cgi

即可

参考网址:http://blog.csdn.net/liangxun0712/article/details/46009169

上一篇 下一篇

猜你喜欢

热点阅读