Install PDO on OS X Leopard

吃可爱长大的小学妹 提交于 2019-12-11 09:50:17

问题


What's the easiest way to install PDO on the default php installation of OS X Leopard? I'm trying to get ModX running.


回答1:


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.




回答2:


If you're looking for something that's a little bit more robust than MAMP, I'd recommend Zend Server Community Edition. It's similar to MAMP, but gives you more control over your server environment.



来源:https://stackoverflow.com/questions/1280609/install-pdo-on-os-x-leopard

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!