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

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

作者: xrichardyan | 来源:发表于2017-09-24 17:03 被阅读0次

    回到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

    相关文章

      网友评论

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

          本文链接:https://www.haomeiwen.com/subject/kgokextx.html