phpStorm要求的php-cgi的内置间preTER。如何使PHP作为CGI快? [英] phpStorm asks for php-cgi built interpreter. How to make php as fast cgi?
问题描述
我是新来OS X环境。我需要设置PHP开发环境,所以我已经phpStorm IDE + PHP 5.4(CLI)与Xdebug的2.2.3 + apache的2.1安装和配置。
I am new to OS X environment. I need to setup php dev environment so I've phpStorm IDE + php 5.4 (cli) with xdebug 2.2.3 + apache 2.1 installed and configured.
当我试图建立我的项目,我得到了一个错误
When I tried to build my project, I got an error as
PHP-CGI没有找到
php-cgi not found
我读过一些解决方案,并试图使PHP的事实,但后来我得到卷曲错误,指出
I've read few solution and tried to make a facts php but then I got cURL error saying that
重新安装的libcurl为easy.h应该在/使用/有/卷曲。
reinstall libcurl as easy.h should be in /use/include/curl.
我在 easy.h
在同一位置。如何让我通过这一步呢?
I'm having easy.h
at same location. How do I make through this step ?
推荐答案
我得到了解决。
发现它的,我需要安装X code命令行。
Found it as, I needed to install Xcode for Command Line.
$bash~# xcode-select --install
现在,另一个问题是MySQL的头文件不能在
Now, another problem is mysql header files can't be found at
/usr/local/Cellar/mysql/5.6.24/include/mysql
这篇关于phpStorm要求的php-cgi的内置间preTER。如何使PHP作为CGI快?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!