Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

iTim314

macrumors 6502
Original poster
Jun 5, 2005
337
6
U.S.
I'm using a new MacBook Pro with OSX 10.4.10 installed, all software up to date.

I've tried installing PHP on here before, and it goes all the way through the installation then says "Please Try Installing Again."

In System Preferences, 'Personal Web Sharing' will not start up. I tried starting it in Terminal, and I get this:

/usr/sbin/apachectl restart: httpd not running, trying to start
Processing config directory: /private/etc/httpd/users/*.conf
Processing config file: /private/etc/httpd/users/+entropy-php.conf
Syntax error on line 8 of /private/etc/httpd/users/+entropy-php.conf:
Cannot load /usr/local/php5/libphp5.so into server: (reason unknown)
/usr/sbin/apachectl restart: httpd could not be started

I need PHP on my MacBook Pro because my personal server's memory failed, and I can't fix it anytime soon. Any ideas on how I can fix this, (re)install apache, and get the latest PHP version installed?

Any help AS SOON AS POSSIBLE would be great.
 
PHP4 comes with OS X... enabling it would be a lot easier than trying to get PHP5 working. I believe you would just uncomment the following line:

LoadModule php4_module libexec/httpd/libphp4.so

... in /etc/httpd/httpd.conf, then restart apache.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.