首页 > 代码库 > Mac php phpize 扩展问题解决

Mac php phpize 扩展问题解决

执行执行 phpize 报错:

1 grep: /usr/include/php/main/php.h: No such file or directory2 grep: /usr/include/php/Zend/zend_modules.h: No such file or directory3 grep: /usr/include/php/Zend/zend_extensions.h: No such file or directory4 Configuring for:5 PHP Api Version:6 Zend Module Api No:7 Zend Extension Api No:
1 sudo ln -s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include /usr/include

 

Mac php phpize 扩展问题解决