Best way to install PHP 5.3 alongside MacPorts PHP 5.2
Ryan Schmidt
ryandesign at macports.org
Tue Feb 5 18:05:52 PST 2008
On Feb 5, 2008, at 19:23, Michael J. I. Jackson wrote:
> Thanks for this. I modified the instructions below (just slightly)
> and it worked like a charm. In case anybody else is interested in
> making this work, and they want explicit details, I wrote up the
> entire procedure on my blog.
>
> http://mjijackson.com/2008/02/04/how-to-install-php-53-alongside-52-
> on-lighttpd-using-macports/
It looks very good. One small thing you might want to change. You
mentioned how to configure the hand-compiled php 5.3 with MySQL, but
not how to configure the MacPorts php 5.2 with MySQL, which would
just be:
sudo port install php5 +fastcgi +mysql5
But if you want to run a MySQL server on this machine, then you must run
sudo port install mysql5 +server
*first* (otherwise you'll get the non-server mysql5 port).
More information about the macports-users
mailing list