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 <[email protected]>: > > 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 > [email protected] > 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 _______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
