PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

Alex Simonenko's Blog: Installing PHP 5.3.6 on OS X Lion

Note: This article was originally published at PHPDeveloper on 21 July 2011.
PHPDeveloper

Alex Simonenko has a new post to his blog talking about what he had to do to get PHP 5.3.6 working on his OS X Lion installation since a previous method no longer worked. in his new post he shares his solution - using Homebrew. (Note: original post is in Russian)

After installing OS X Lion (10.7) was faced with an unpleasant problem, install PHP + MySQL bundle as I did before does not work. And as it turned out, the problem is in MySQL, source code is not yet ready for the new OS from Apple. After some thought and reading similar problems on the Internet, I found [a solution to the problem].

He includes the commands you'll need to get Homebrew installed and configured to install a fresh download of the archive (dmg) after a few setup changes. He uses Homebrew to install a few dependencies the installation will need and his example configure options for the build. Then the install is just a "make" and "make install" away.