Re: PDO database drivers
| From: | Jon Anderson | Date: | Tue, 20 Feb 2007 13:05:25 +0000 |
| Subject: | Re: PDO database drivers | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-249079@lists.php.net to get a copy of this message | ||
Sandy Keathley wrote:
I upgraded PHP 5.2 => 5.2.1 and added PDO support. It installed the SQLLITE driver by default. I wanted to add the MYSQL driver. I ran pecl install PDO_MYSQL and it failed with an autoconf error. It probably depends on how you're installing PHP. If you're using a distribution's built-in PHP support, there should be a PDO/mysql package or in Gentoo's case pdo and mysql use flags. If you're compiling from source, just add --with-pdo-mysql to your ./configure line.
I then downloaded the driver from pecl and unpacked it, but there were no instructions on installing it, and there is no configure script. Why use pecl? It's built-in to PHP.jon