Problems with libclntsh.so.10.1 and PHP/Apache HTTPD
451188Aug 24 2005 — edited Nov 13 2007Hello,
I've been wrestling with the install of Instant Client/OCI8 with PHP 5.0.4 and Apache HTTPD 2.0.52 on RHEL4 ES. Most recently I've followed the instructions detailed here: http://www.oracle.com/technology/pub/notes/technote_php_instant.html
Apache is installed from the RHN rpm.
PHP was successfully compiled with the following parameters:
./configure with-mysql with-ssl with-ldap with-apxs2 with-dom with-oci8-instant-client=/usr/local/oracle/instantclient_10_2 --enable-sigchild
I've also attempted to get OCI8 working using the full Administration Client from CD. In either case, I can compile/install PHP just fine. I've indexed the Instant Client directory with ldconfig, and the user that runs HTTPD has read/execute permissions on libclntsh.so.10.1 and on all the directories above it. Nonetheless, when I start Apache, I invariably run into the following error:
# /etc/init.d/httpd start
Starting httpd: Syntax error on line 190 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/lib/httpd/modules/libphp5.so into server: libclntsh.so.10.1: failed to map segment from shared object: Permission denied [FAILED]
Thanks in advance for any insight,
Patrick
Message was edited by:
dog.breath