Best way to upgrade PHP 5.3 to 5.4
Tim Johnson
tim at akwebsoft.com
Thu Apr 18 19:55:50 PDT 2013
* Ryan Schmidt <ryandesign at macports.org> [130418 18:49]:
>
> On Apr 18, 2013, at 19:57, Tim Johnson wrote:
>
> > I'd like to upgrade PHP, the current version is 5.3.15 to
> > 5.4.
> >
> > I can't remember if I originally installed PHP from Macports or if
> > it was shipped as native to OSX.
> >
> > Regardless : I would welcome advice on whether to use Macports or if
> > anyone finds the following :
> > http://php-osx.liip.ch/
> > as preferable.
> >
> > I'm a bit green when it comes to OSX (previously on linux) and have
> > two websites in active development based on PHP and I don't want to
> > screw anything up.
>
> As the maintainer of the php ports in MacPorts, I will of course recommend you use them. :)
Boy, did I hit the jackpot!
> You can use
>
> port installed | grep php
> to see if you have any MacPorts php installed; if you do, chances are you're using that.
Null response from grep, so this is a 'native' install?
> If you want php 5.4 for use as an Apache module, you would:
> sudo port install php54-apache2handler
Understood, and previously would I invoke
sudo port install php54
??
>
> If you have specific questions, let me know.
Thank you.
--
Tim
tim at tee jay forty nine dot com or akwebsoft dot com
http://www.akwebsoft.com
More information about the macports-users
mailing list