Unable to use PHPIZE after update to MacOS Mojave

前端 未结 4 2194
醉酒成梦
醉酒成梦 2020-12-05 07:23

What i should do when i run PHPIZE and get the error below ? I already installed xcode command line tools.

grep: /usr/include/php/main/php.h: No         


        
4条回答
  •  臣服心动
    2020-12-05 07:53

    I had the same issue as described above, only I was trying to install xdebug on macOS Mojave.

    I resolved the issue by executing:

    sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target /
    

提交回复
热议问题