Home » Open Source » Programming Interfaces » Can not connect to Oracle 10g with PHP 4.3
Can not connect to Oracle 10g with PHP 4.3 [message #250241] Mon, 09 July 2007 04:49
roll_dom
Messages: 1
Registered: July 2007
Junior Member
Hi,

I installed a PHP 4.3 release on a RHEL4 with RPMs but I can not still connect to Oracle 10g althought I installed Oracle Instant client on the machine, modified the httpd file in /etc/init.d/ - set up the following environment variables:

export LD_LIBRARY_PATH=/usr/lib/oracle/10.2.0.3/client/lib
export SQLPATH=/usr/lib/oracle/10.2.0.3/client/lib

I got those error messages in the web interface:

Fatal error: Call to undefined function: ora_logon() in /home/applications/oracle/www/dba/dbmanagement/instance.php on line 46

I had a look in the php.ini and the following extensions are enabled:
extension=oracle.so
extension=oci8.so

Please help!
Previous Topic: ODBC connection problem
Next Topic: converting sql server tables into oracle tables
Goto Forum:
  


Current Time: Thu Mar 28 16:16:13 CDT 2024