Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Upgrade to php 5.6.24 : cannot run apxs #3397
when running a brew upgrade, it failed when doing the configure.
Context and Logs
i was upgrading 4 outdated packages:
Here is the log.
The problem wasn't hard to solve but this error was surprising (as I didn't do anything in apr folder).
cd /usr/local/Cellar/apr ln -s 1.5.2_1 1.5.2
I had exactly the same problem while upgrading php 7.0.9 to 7.0.10. Solution by @jblaise fixed the issue as well. Here's my log:
Last 15 lines from /Users/USER/Library/Logs/Homebrew/php70/01.configure:
Configuring SAPI modules
Sorry, I cannot run apxs. Possible reasons follow:
The output of /usr/local/bin/apxs follows:
configure: error: Aborting