Confused about installing PHP5 cli

mrbigpants johnbkim at
Mon Jul 13 21:50:31 PDT 2009

I need php5 to work in cli. I just did 'sudo port install php5' and it says,

Image error: Another version of this port (php5 @5.2.10_1+apache2+macosx) is
already active.

So apparently php5 is already installed as an apache module. At this point,
what must I do to get it to work on the command line? Do I have to somehow
uninstall and reinstall the port?

(There is php available to cli currently, but it's php4.)


View this message in context:
Sent from the MacPorts - Users mailing list archive at

More information about the macports-users mailing list