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/
相关文章推荐
- 一个关于if else容易迷惑的问题
- PHP5.2.*防止Hash冲突拒绝服务攻击的Patch
- 深入理解PHP之匿名函数
- JSP/PHP基于Ajax的分页功能实现
- 关于PHP通过PDO用中文条件查询MySQL的问题。
- 什么是设计模式
- 什么是Mac OS X?跟Linux有什么区别
- mac下安装mysql(转载)
- mysql 修改编码 Linux/Mac/Unix/通用(杜绝修改后无法启动的情况!)
- PHP数据库长连接mysql_pconnect的细节
- Php Installing An Expansion
- Linux vs Mac:Linux 比 Mac 好的 7 个原因
- 苹果mac OS X上安装metasploit
- C#、ASP.NET通用扩展工具类之TypeParse
- Lua编程示例(二):面向对象、metatable对表进行扩展
- Windows Powershell扩展类型系统
- PHP+Apache在Windows 9x下的安装和配置
- IIS 6 的 PHP 最佳配置方法
- 安装Apache和PHP的一些补充