phpStorm asks for php-cgi built interpreter. How to make php as fast cgi?

為{幸葍}努か 提交于 2019-12-11 10:09:31

问题


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 not found

I've read few solution and tried to make a facts php but then I got cURL error saying that

reinstall libcurl as easy.h should be in /use/include/curl.

I'm having easy.h at same location. How do I make through this step ?


回答1:


I got the solution.

Found it as, I needed to install Xcode for Command Line.

$bash~# xcode-select --install

Now, another problem is mysql header files can't be found at

/usr/local/Cellar/mysql/5.6.24/include/mysql



来源:https://stackoverflow.com/questions/30274939/phpstorm-asks-for-php-cgi-built-interpreter-how-to-make-php-as-fast-cgi

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