Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Unable to load oci8.so on linux due to permissions

394647Oct 28 2008 — edited Mar 16 2010
I see the attempt to load the oci8.so library in the /var/log/httpd/error_log file:

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/oci8.so' - libclntsh.so.11.1: cannot enable executable stack as shared object requires: Permission denied in Unknown on line 0

I'm running Fedora 9 with Apache 2.2.9.

What's odd is that I can run "php -i" from the command line and see the oci8 module loaded, but it won't load when php runs via Apache with simple phpinfo() call.

I'm stuck.

Ken
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 13 2010
Added on Oct 28 2008
9 comments
10,096 views