Home > Backend Development > PHP Tutorial > php phpize error report

php phpize error report

WBOY
Release: 2016-07-28 08:29:43
Original
1674 people have browsed it

phpize reported the following error under Mac 10.11:
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:
Use $ sudo ln -s / Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/include /usr
ln: /usr/include: Even if sudo is used, an error is reported: Operation not permitted, this This is because the SIP feature introduced by Apple in OS There are two ways to solve this problem:
Solution: NO.1 (recommended)
Simple and convenient, execute the following method to install the command line tool and it will automatically configure the Unix development environment for you:
$ xcode-select --install
Solution: NO.2
Temporarily disable system protection:
Immediately press and hold command R ("R" letter key) when pressing the power button. Release the button after the Apple logo and progress bar appear in the middle, and wait for the installation interface to be restored and After the "OS Restart the computer.
The above introduces php phpize error reporting, including the content. I hope it will be helpful to friends who are interested in PHP tutorials.


Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template