在Mac上使用Homebrew安装PHP7

时间:2016-07-30 04:20:46

标签: laravel homebrew laravel-valet

当我尝试在Homebrew上安装PHP7时出现此错误

Sorry, I cannot run apxs.  Possible reasons follow:

1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)

The output of /usr/sbin/apxs follows:
apxs:Error: /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.12.xctoolchain/usr/local/bin/apr-1-config not found!.

configure: error: Aborting

有没有人有这方面的解决方案,知道我在网上搜索没有运气的解决方案

0 个答案:

没有答案