在装mcrypt插件时报错,提示:mcrypt fatal error: 'php.h' file not found, 然后又仔细操作了一次在输完phpize回车时就已经开始出错了,出错信息如下: grep: /usr/include/php/main/php.h: No such file or directory grep: /usr/include/php/Zend/zend_modules.h: No such file or directory grep: /usr/include/php/Zend/zend_extensions.h: No such file or directory Configuring for: PHP Api Version: Zend Module Api No: Zend Extension Api No:
解决办法: sudo ln -s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include /usr/include
查看更多关于mac系统升级到10.9(mavericks)时安装php扩展问题解决的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://haodehen.cn/did8147