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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to