Mac php phpize 扩展问题解决

执行执行 phpize 报错:

1 grep: /usr/include/php/main/php.h: No such file or directory

2 grep: /usr/include/php/Zend/zend_modules.h: No such file or directory

3 grep: /usr/include/php/Zend/zend_extensions.h: No such file or directory

4 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

 

你可能感兴趣的:(PHP)