Trouble installing PDO & PDO_ODBC (unixODBC flavour) on a RHEL5
| From: | Thomas Despoix | Date: | Mon, 03 Mar 2008 11:31:11 +0000 |
| Subject: | Trouble installing PDO & PDO_ODBC (unixODBC flavour) on a RHEL5 | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-5151@lists.php.net to get a copy of this message | ||
Hi everyone,
I'm new to this newsgroup and not sure I should ask for support here. Anyway, here is the problem :
I'm desperately trying to install PDO & PDO_ODBC (unixODBC flavour) on a RHEL5 distribution, using PECL
pecl install pdo pecl install pdo_odbc Both installation appear to woek perfectly, without any errorThough, after an Apache restart, extensions are not loaded, and Apache throws the following logs
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 0However, .so files are actually at the right place, correctly chmoded (I tried to 777 chmod them with no success). For your information I'm using PHP 5.1.6, which is by-the-way the latest official PHP release on RHEL5 repositories. Any help would be more than appreciated. Thanks in advance, -- Thomas Despoix