Here is a quick update on getting Apache, PHP and MySQL installations working again after the Snow Leopard upgrade.
For Apache I did a recompile and install because the config was completely lost (and I had no backup!) and this was the quickest way for me. The normal 64 bit Leopard instructions did the job for now, will look later at possible enhancements.
MySQL I could just startup with the System Preferences MySQL panel. Will do a recompile later today and will update this post with the findings. This as MySQL is updated to 5.1.38
PHP gave the most issues, but a comment from Nico helped out. This problem is valid for 5.2.9 and 5.3.0 but it should be solved in 5.3.1 as the bug was listed as solved in 5.3.1.dev
To solve the problem, follow the normal instructions on this site but after the configure statement you need to edit the Makefile which is created by ./configure
You need to add ‘
-lresolv‘ at the end of the line which starts with ‘
As noted earlier, I will keep updating this blogpost till most issues are resolved or properly documented elsewhere on the site.
Update 1: MySQL compiled without a problem using the 64 bits Leopard instructions.
Update 2: Finished some of the PHP documentation on Snow Leopard:
- Compiling PHP in 64 bits mode on Snow Leopard
- Adding the GD module to PHP on Snow Leopard
- Adding the mcrypt module to PHP on Snow Leopard
Update 3: Added Apache install instructions:
Update 4: Made a new page with all related Snow Leopard instructions. MAMP stack documented, mailserver will follow!
Last update: Mailserver instructions.