php5 - the new way
Chris Janton
face at CentosPrime.COM
Sat Jul 18 08:07:20 PDT 2009
OK - installing / upgrading php5
mac 11 # sudo port upgrade php5
Warning: Skipping upgrade since openssl 0.9.8k_0 >= openssl 0.9.8k_0,
even though installed variant does not match +darwin. Specify -f to
force upgrade.
Warning: Skipping upgrade since bzip2 1.0.5_2 >= bzip2 1.0.5_2, even
though installed variant does not match +darwin. Specify -f to force
upgrade.
Warning: Skipping upgrade since readline 6.0.000_1 >= readline
6.0.000_1, even though installed variant does not match +darwin.
Specify -f to force upgrade.
Warning: Skipping upgrade since apache2 2.2.11_0 >= apache2 2.2.11_0,
even though installed variant +darwin_9 does not match +darwin
+darwin_9. Specify -f to force upgrade.
---> Computing dependencies for php5
---> Fetching php5
---> Verifying checksum(s) for php5
---> Extracting php5
---> Applying patches to php5
---> Configuring php5
---> Building php5
---> Staging php5 into destroot
Note: php5 installs files outside the common directory structure.
---> Deactivating php5 @5.3.0_0+apache2+macosx+mysql5+pear
---> Computing dependencies for php5
---> Installing php5 @5.3.0_1+apache2+macosx+mysql5+pear
---> Activating php5 @5.3.0_1+apache2+macosx+mysql5+pear
You may need to update your php.ini for any changes that have been made
in this version of php. Compare /opt/local/etc/php5/php.ini with
/opt/local/etc/php5/php.ini-development (if this is a development
server) or
/opt/local/etc/php5/php.ini-production (if this is a production server).
If this is your first install, you need to activate PHP in your web
server.
To enable PHP in Apache, run
cd /opt/local/apache2/modules
/opt/local/apache2/bin/apxs -a -e -n "php5" libphp5.so
---> Cleaning php5
I am curious about the 4 warnings for openssl, bzip2, readline,
apache2. Don't know why that is showing up.
I followed with
port install php5-gd +t1lib
port install php5-curl
followed by an apachectl graceful
looks like it all works.
8)
----------------------------------
Chris Janton - face at CentosPrime dot COM
Netminder for Opus1.COM
More information about the macports-users
mailing list