/ Published in: Bash

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
# Adapted from Sheldons instuctions # http://macoshelp.blogspot.com/2008/02/adding-gd-library-for-mac-os-x-leopard.html # Comment out "LoadModule php5_module libexec/apache2/libphp5.so" # 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 http://www2.entropy.ch/download/php5-5.2.5-6-beta.tar.gz 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
Comments
