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/
#AddModule mod_php4.c


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: Logo

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s

Blog at

%d bloggers like this: