FAILED PORTS ImageMagick allegro boost-jam bzip2 bzr cairo coreutils curl doxygen fontconfig freetype gettext ghostscript glib2 glut gnupg2 gperf gpg-agent graphviz libgcrypt libiconv libksba libpixman libpng libsdl libsdl_image libxml2 mysql5 openssl p7zip pango perl5 perl5.8 Practical Extraction and Reporting Language py25-curses py25-docutils python24 python25 smpeg speex squeak tcl tiff * MacPorts * http://www.macports.org/ Deactivating perl5.8 @5.8.9_3 ** Ports Info Anytime ** port installed port list port search php port info php5 port variants php5 port dependents php5 ** Installing Ports ** sudo port install php5 sudo port -d archive logrotate ** Ports Info After Install ** sudo port contents php5 ** Maintaining Ports ** sudo port -n upgrade php5 [upgrade PHP 5 and all dependencies] sudo port -f upgrade outdated [upgrades all outdated ports] port lint php5 [Checks that Portfile conforms to standards] ** Uninstalling Ports ** sudo port uninstall php5 perl5 @5.8.8_2 perl5 @5.8.9_0 (active) perl5.8 @5.8.8_3+darwin_9 perl5.8 @5.8.9_3 (active) activate deactivate 1) Installed latest Xcode 3.1.2. Wasn't fully installed by default with the Leopard upgrade. /opt/local/var/macports/build sudo port install php5 NOTE: sudo launchctl load -w /Library/LaunchDaemons/org.macports.apache2.plist sudo port -f install perl5 sudo port uninstall perl5 sudo port -f install perl5 sudo port install php5 ---> Fetching php5 ---> Attempting to fetch php-5.2.6.tar.bz2 from http://www.php.net/distributions/ ---> Verifying checksum(s) for php5 ---> Extracting php5 ---> Applying patches to php5 ---> Configuring php5 ---> Building php5 with target all ---> Staging php5 into destroot Warning: php5 requests to install files outside the common directory structure! ---> Installing php5 5.2.6_2+apache2+macosx If this is your first install, you might want cd /opt/local/apache2/modules /opt/local/apache2/bin/apxs -a -e -n "php5" libphp5.so * copy /opt/local/etc/php.ini-dist to /opt/local/etc/php.ini ---> Activating php5 5.2.6_2+apache2+macosx ---> Cleaning php5 cd /usr/local/Zend/apache2/modules sudo /usr/local/Zend/apache2/bin/apxs -a -e -n "php5" libphp5.so sudo cp /opt/local/etc/php.ini-dist /opt/local/etc/php.ini httpd.conf LoadModule php5_module /usr/local/Zend/Core/modules/apache22/libphp5.so [Apache Module] LoadModule php5_module modules/libphp5.so [FastCGI] AddType application/x-httpd-php .php DirectoryIndex index.php Alias /ZendCore /usr/local/Zend/Core/GUI