What’s the easiest way to install PDO on the default php installation of OS X Leopard? I’m trying to get ModX running.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It can be a hassle to build PHP extensions with the Leopard default PHP. If you are just doing development work, look into MAMP, which has a whole bunch of extensions (including PDO for MySQL and PostgreSQL) built-in. It includes its own copy of Apache so you won’t be using the OS X default Apache. Don’t worry, there’s no installation needed.
A second option is Mark Liyanage’s PHP package which is a PHP module that you use instead of the one that comes with Leopard, but has a lot of extensions built-in.
MAMP is easier, but Liyanage’s package works with the built-in web server.