Problem installing PDO & PDO ODBC on RedHat
| From: | Thomas Despoix | Date: | Mon, 03 Mar 2008 11:49:47 +0000 |
| Subject: | Problem installing PDO & PDO ODBC on RedHat | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-5152@lists.php.net to get a copy of this message | ||
Hi everyone,
I'm not sure I should post on this list for support, but anyway here is my problem :
I'm desperately trying to install PDO and PDO_ODBC (unixODBC flavour) on a RHEL5 distribution using PECL
pecl install pdo pecl install pdo_odbc Yuu should first know that the problem occurs with any extension I'm trying ton install with PECL on this host.Both extensions seem to correctly install, with no errors. Yet, after an Apache restart, extensions are not actually loaded. The following is logged by Apache
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pdo.so' - /usr/lib/php/modules/pdo.so: cannot open shared object file: Permission denied in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pdo_odbc.so' - /usr/lib/php/modules/pdo.so: cannot open shared object file: Permission denied in Unknown on line 0 However both .so file are at the right place, correctly chmoded (I even tried to 777 them with no success as you could guess).For your information, I'm using PHP 5.1.6, which by the way is the latest available release on RHEL5 standard repositories. Any help would be more than appreciated. Thanks in advance. -- Thomas Despoix