在OS X Leopard上安装PDO [英] Install PDO on OS X Leopard

查看:120
本文介绍了在OS X Leopard上安装PDO的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在OS X Leopard的默认php安装上安装PDO的最简单方法是什么?我正在尝试让ModX运行.

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

推荐答案

使用Leopard默认PHP构建PHP扩展可能很麻烦.如果您只是在从事开发工作,请查看 MAMP ,它具有很多扩展(包括用于MySQL和PostgreSQL)内置.它包含自己的Apache副本,因此您将不会使用OS X的默认Apache.不用担心,不需要安装.

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.

第二个选项是 Mark Liyanage的PHP软件包,它是一个PHP模块,您使用的不是Leopard随附的,而是内置了许多扩展程序.

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更容易,但是Liyanage的软件包可与内置的网络服务器一起使用.

MAMP is easier, but Liyanage’s package works with the built-in web server.

这篇关于在OS X Leopard上安装PDO的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆