Apache and PHP issues with Mac OSX Leopard upgrade
I recently upgraded my OS on my Macbook Pro to Leopard. I must say it was as painless as possible but there are a few hiccups given I have a web server and a few other development-oriented programs running on my notebook. Apache and PHP were not working and I have an issue with the Fire multi-chat IM client, plus some classpath issues in Eclipse IDE.
To get Apache and PHP working again:
- Preferences: Sharing: Web Sharing [turn on]
- Leopard installs PHP 5 and Apache 2.2 and I learned that it creates an entirely new config directory for apache. I racked my brain over this one as it used to be /etc/httpd/ … all the configs looked correct until I learned that Apache was now running from /etc/apache2/ so I edited the httpd.conf file and turned on the php5 module and restarted Apache and it worked.
- sudo vi httpd.conf and uncomment the line w/ the PHP5 module
- sudo apachectl restart
I am still working on the Eclipse issue to get that working again and will likely use a different multi-chat client (unless Fire has an upgrade).

February 28th, 2008 at 3:18 pm
Wow, you make it hard to post comments here.
Why Eclipse? Why not Textmate or even Netbeans?
February 29th, 2008 at 11:29 pm
Looked at Netbeans and some very cool drag/drop functionality but I don’t like “black box” solutions; some of the auto-gen features for web services, etc., were undesirable but would certainly use Netbeans if building Mobile apps (BREW / midlets / etc).
Eclipse is the IDE of choice for developers I work with overseas and it’s easier to collaborate, document and train when you are standardized. The countless plugins available, plus integration with our chosen environments for versioning, build management, frameworks, etc. made it the IDE for us.