I am trying to php oci8 with Oracle Instant client for a system with following configuraiton,
but I am periodically getting the error "incompatible libclntsh.so"
PHP 5.3.6-8ubuntu0ppa2~karmic1 (cli) (built: Apr 19 2011 07:44:50)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
Ubuntu 9.10 Karmic
Oracle Instant client instantclient.188.8.131.52.0
How did you build OCI8?
How is PHP configured/installed?
Do you have multiple versions of Oracle libraries installed on the machine?
If you are using Ubuntu's Apache package, is LD_LIBRARY_PATH set in /etc/apache2/envvars?