Snow Leopard upgrade

Finally took the jump and upgraded both Macs from Leopard to Snow Leopard.
On the iMac, which is used as our every day computer, it couldn’t be more simple. Plop in the disk and go and at the end everything was upgraded and everything worked, we didn’t have a single app that was borked. Beautiful. And indeed, Snow Leopard is noticeably faster, which by itself is worth the upgrade.

The Mac Mini however… not so nice. Not really Apple’s fault but that one is used as my webserver/mailserver/database server/ftp server and after the upgrade…. well nothing worked. At all. It took me a good day to figure out every single little thing as some problems just didn’t make any sense whatsoever.
First and foremost, it’s a stupidly simple thing to fix once you’ve figured it out, but before you do it can take a while; if you see parts of your site failing without any proper error, with apache processes crashing left right and center (with messages in your Apache error log like “[notice] child pid 7362 exit signal Bus error (10)”), look for mysql_close() in your php scripts and remove it. Simple huh? Apparently it’s no longer supported in PHP 5.3 which is default in Snow Leopard and using mysql_close() makes your page halt wherever its called and the Apache process fall over and die a horrible death. This was during my upgrade the last glitch to fix, but it also took by far the most time to track down as I thought it was simply crapping out due to misconfiguration.
The rest was pretty simple, just make sure you make a backup of your Apache config files prior to upgrade as these get replaced, so you can easily get things like your vhost settings back. You may also have to recreate the symbolic link to mysql depending on which package you were using. As for my mail, that was simply a matter of buying the new MailServe Snow to replace the old Leopard Pro version.

So overall, yay for Snow Leopard. Just make sure you have a good backup if you’re using yours as a server as well.


Comments are closed.

Work in progress... not home!
Trying to get all/most of the new code working before I start on the eyecandy.