当前位置:Gxlcms > PHP教程 > 安装phpredis连接的时候phpize报错

安装phpredis连接的时候phpize报错

时间:2021-07-01 10:21:17 帮助过:17人阅读

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

报错:ln: /usr/include: File exists

求解 啊啊 !!!!!!!!

回复内容:

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

报错:ln: /usr/include: File exists

求解 啊啊 !!!!!!!!

上面的 No such已经告诉你了

我已经解决了

人气教程排行