I'm trying to get PDO installed properly as a shared module so I can upgrade it and install additional drivers via PECL. Here's what I've done so far...
- install Apache 2.2.4 from source
- install PHP 5.2.3 from source using the configure flags listed here: http://us.php.net/pdo
- edit php.ini as noted on same page (add... "extension=pdo.so")
- run "pecl install PDO"
Now when I type "pecl list", I get a normal listing with PDO included. But when I type "pear list", I get the following warning:
PHP Warning: PHP Startup: Unable to load dynamic library './pdo.so' - ./pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
I've tried editing php.ini to change my extension_dir to exactly where pdo.so is located, but I just get the same error with a different path listed.
Did I miss a step somewhere along the way? Is there an easier way to do this? Thanks.