Return to Snippet

Revision: 13003
at April 4, 2009 07:39 by terrencewood

Initial Code
# Adapted from Sheldons instuctions

# Comment out "LoadModule php5_module libexec/apache2/"
# in httpd.conf tp prevent the default PHP installation from loading
cd /private/etc/apache2
bbedit httpd.conf

# Download and install a compiled version of PHP + GD 
cd /usr/local
sudo curl -O
sudo tar -xzf php5-*-beta.tar.gz
sudo ln -sf /usr/local/php5/entropy-php.conf /etc/apache2/other/+entropy-php.conf

# optionally remove compressed file
rm php5-5.2.5-6-beta.tar.gz

# restart Apache
sudo apachectl restart

Initial URL

Initial Description

Initial Title
Install PHP + GD  on Mac OS X Leopard

Initial Tags
php, Bash, mac, osx, terminal

Initial Language