我想做PHP我的作品Mac书。然而,当我安装腓风暴,并告诉PHP解释器的位置,它会导致错误:如何在Mac OS(OS X 10.10)中将php-cgi安装为插件?
php-cgi not found
Please ensure that configured PHP Interpreter built as CGI program (--enable-fastcgi was specified
很显然,我应该安装php-cgi
。
我在How do I enable fastcgi on my Mavericks using PHP 5.4.24?找到了答案。它说我应该重新安装PHP与一些选项,都fastcgi。
brew install php54 --with-fpm --with-debug --with-cgi --with-libmysql --with-homebrew-curl
brew install fastcgi
我正在考虑是:既然我默认PHP我的Mac上,我必须重新安装一个新的PHP?我可以安装*cgi
作为默认php的插件吗?
是否将php安装为php-cli?或者更好地修改PHP Storm的设置? – 2015-04-03 13:15:38