Kenjun

August 7, 2007

Upgrading to PHP5 on the MacBook

Filed under: MacBook, php — kenjun @ 10:20 am

An upgrade to PHP5 using the Entropy package on my MacBook just tanked.

Turns out the fault is pretty basic.

If you’ve been running PHP already (i.e. you have already uncommented the lines in your httpd.conf file that allows PHP to run) then Apache can’t figure out which version of PHP to use and the install fails.

Simple solution – recomment those PHP lines.
E.g. #LoadModule php4_module        libexec/httpd/libphp4.so
#AddModule mod_php4.c

http://www.entropy.ch/phpbb2/viewtopic.php?t=2390

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: