您的位置:首页 > 编程语言 > PHP开发

php.h No such file or directory

2016-02-19 12:19 656 查看

php.h No such file or directory

Yesterday , I tried to install mcrypt plugin for php in Mac OSX . I did the step by step fromhttp://www.coolestguidesontheplanet.com/install-mcrypt-php-mac-osx-10-9-mavericks-development-server/ .
However, I got the php.h: No such file or directory when running the/usr/bin/phpize

It didn’t describe the article also. I already installed the command line tool from Xcode. But the error was showing.

I miss the following step

xcode-select --install

I need to install xcode-select from terminal. It will take the time for installing. After installation completed , I can run phpize and there is no error anymore.

转自:http://www.saturngod.net/articles/php-h-no-such-file-or-directory/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  mac php 扩展