Enabling php_pdo_mysql driver on Leopard
Posted: Mon Feb 02, 2009 10:26 am
Hi!
I'm working on a Mac with Leopard OS.
I need to have the php_pdo_mysql driver enabled and unfortunately the only pdo-drivers enabled with php that comes packaged with Leopard are sqlite2 and sqlite.
How can I enable pdo_mysql? Do I need to compile php form source?
I did find this tutorial for compiling php from source, http://www.malisphoto.com/tips/php-on-os-x.html but there is nothing about enabling the pdo_mysql driver.
If I do have to compile from source -- and I think I understand there are advantages to doing so, will that create problems with my local testing environment which is stable?
Thank you!
I'm working on a Mac with Leopard OS.
I need to have the php_pdo_mysql driver enabled and unfortunately the only pdo-drivers enabled with php that comes packaged with Leopard are sqlite2 and sqlite.
How can I enable pdo_mysql? Do I need to compile php form source?
I did find this tutorial for compiling php from source, http://www.malisphoto.com/tips/php-on-os-x.html but there is nothing about enabling the pdo_mysql driver.
If I do have to compile from source -- and I think I understand there are advantages to doing so, will that create problems with my local testing environment which is stable?
Thank you!