I just had a doosey of a time getting pdo_mysql installed in OS X Leopard, so I thought I would post here to share my findings.
I wanted to manage my own installs of php, mysql, apache etc. that ship with leopard as opposed to using a stack package like MAMP, XAMP etc.
The main problem with this approach is that the the default installs of apache2 and MySQL in Leopard are incompatible with each other as apache is set to run in 64bit mode while mySQL is 32bit. As a result of this, the default php install includes PDO support for sqlite but not MySQL.
The work around for this is that you need to change a LaunchDaemon plist to tell apache to start in 32 bit mode and then download the php source and compile the pdo_mysql extension (you don't have to recompile your whole php install) for your machine.
I found other solutions but this was the simplest and least destructive.
If this sounds like what you are looking for, here is the basic recipe that I followed:
http://www.lildude.c...d-from-scratch/
You can pretty much just follow this recipe from start to finish (minus the actual "Installing Habari" part at the very very end) and it should work out.
I hope this helps someone get up and running quickly and painlessly with recess!
Page 1 of 1
Installing PDO MySQL drivers in OS X leopard
Page 1 of 1

Sign In
Register
Help


MultiQuote