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!

PHP Warning: PHP Startup: Unable to load dynamic library error

805486Oct 14 2010 — edited Oct 16 2010
Hello,

I recently installed OCI8 with PECL install oci8 on Red Hat Linux and it completed just fine. I added the necesary entries into php.ini and restarted Apache. Now when I check OCI8 with php --ri oci8

it kicks out this message:

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/oci8.so' - /opt/dbms/oracle/product/11.1.0.6.0_client64/lib/libclntsh.so.11.1: undefined symbol: nzsuppni_nl_init in Unknown on line 0
Could not open input file: oci8

I have added the following to PHP.ini
extension = oci8.so
extension_dir=/usr/lib64/php/modules/

Any ideas? Thanks!

Edited by: user13036134 on Oct 14, 2010 8:04 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 13 2010
Added on Oct 14 2010
3 comments
2,489 views