I changed my computer and installed PHP's php-protobuf framework extension. I encountered some problems and recorded them here. Go to the php-protobuf page. phpize is as follows {code ...} google solution: sudoln-sApplicationsXcode.appContentsDeveloperPlatforms... I changed my computer and installed PHP's php-protobuf framework extension. I encountered some problems and recorded them here.
Go to the php-protobuf page. phpize is as follows:
grep: /usr/include/php/main/php.h: No such file or directorygrep: /usr/include/php/Zend/zend_modules.h: No such file or directorygrep: /usr/include/php/Zend/zend_extensions.h: No such file or directoryConfiguring for:PHP Api Version: Zend Module Api No: Zend Extension Api No:
Google
Solution:
Sudo ln-s
/Applications/Xcode. app/Contents/Developer/Platforms/MacOSX. platform/Developer/SDKs/MacOSX10.11.sdk/usr/include // usr/include
Executed
ln: /usr/iclude: Operation not permitted
This error is reported.
/Usr/does not include this folder.
If mkdir include cannot create a folder, Operation not permitted is reported.
Please advise
Reply content:
I changed my computer and installed PHP's php-protobuf framework extension. I encountered some problems and recorded them here.
Go to the php-protobuf page. phpize is as follows:
grep: /usr/include/php/main/php.h: No such file or directorygrep: /usr/include/php/Zend/zend_modules.h: No such file or directorygrep: /usr/include/php/Zend/zend_extensions.h: No such file or directoryConfiguring for:PHP Api Version: Zend Module Api No: Zend Extension Api No:
Google
Solution:
Sudo ln-s
/Applications/Xcode. app/Contents/Developer/Platforms/MacOSX. platform/Developer/SDKs/MacOSX10.11.sdk/usr/include // usr/include
Executed
ln: /usr/iclude: Operation not permitted
This error is reported.
/Usr/does not include this folder.
If mkdir include cannot create a folder, Operation not permitted is reported.
Please advise
Dizzy, What ls is talking about, installing command line tool will automatically help you configure the Unix development environment
xcode-select --install
Php environment is faulty. Try brew to reinstall php.
sudo ln -s/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include/ /usr/include
Cause of link failure 10.11 enhanced system protection/usr wood has operation Permissions
Solution
Temporarily disable system protection:
Press command R ("R" button) immediately when you press the START key. When the apple icon and progress bar appear in the middle, open the button and wait until the installation interface and OS X utility are restored"
After the window appears, click "utility" in the top menu bar, click "terminal" in the drop-down menu, and enter "csrutil disable" directly at the terminal flashing character position"
Press enter to restart the computer.
Of course, you can also directly use phpize in XAMPP