Permission denied to PHP when attempting to load dynamic library
Posted on 2007-04-03
[Solaris 10, Oracle 10.2, PHP 5.2, Apache 2.2]
I am getting the following error when php attempts to load the oci8.so extension module:
Warning: dl() [function.dl]: Unable to load dynamic library '/usr/local/php5/lib/php/extensions/oci8.so' - ld.so.1: httpd: fatal: /opt/oracle/product/10.2.0/lib32/libnnz10.so: Permission denied in /usr/local/apache/htdocs/phpinfo.php on line 16
I have checked permissions on all affected library modules specified in [ ldd oci.so ] and they are all set [chmod] to 644.
Any help would be appreciated.