Confused about installing PHP5 cli

S. M. Ibrahim (Lavlu) smibrahim at gmail.com
Mon Jul 13 21:56:58 PDT 2009


looks like php5 cli already installed, try in terminal
which php (will show /opt/local/bin/php)
php -v

it will show which php version is installed. still if you want to upgrade try

sudo port upgrade php5 +apache2

2009/7/14 mrbigpants <johnbkim at gmail.com>:
>
> 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.)
>
> Thanks.
>
> -Noob
> --
> View this message in context: http://www.nabble.com/Confused-about-installing-PHP5-cli-tp24473478p24473478.html
> Sent from the MacPorts - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>



-- 
S. M. Ibrahim Lavlu
software engineer, php
somewhere in...
http://www.somewherein.net

bangla blog: http://www.somewhereinblog.net
my blog: http://www.lavluda.com
mac blog: htttp://www.mac-talks.com


More information about the macports-users mailing list