phpize No such file or directoryファイルが見つかりません
684 ワード
$ phpize
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:
PHPのヘッダファイルが欠けています.もう一度/usr/includeフォルダには次のコマンドがありません.
$ xcode-select --install
xcode-select: note: install requested for command line developer tools
phpizeが無効な場合は、次のコマンドを実行してヘッダヘッダファイルSDKをインストールします.
$ cd /Library/Developer/CommandLineTools/Packages/
$ open macOS_SDK_headers_for_macOS_10.14.pkg