Error when installing PHP70 with Homebrew
<p>When I try to install PHP7 with Homebrew I get this error</p>

<pre><code>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
</code></pre>

<p>And the command I've used to install it is :</p>

<pre><code>brew install homebrew/php/php70
</code></pre>

<p>Here's a screenshot of my terminal:</p>

<p><a href="http://i.stack.imgur.com/oMRNl.png" rel="nofollow">Terminal Screen shot</a></p>

<p>Does any one have a solution for this, knowing that I've searching the web for a solution without any luck</p>