Connection to Oracle8i

From: Date: Wed, 15 Aug 2001 20:45:16 +0000
Subject: Connection to Oracle8i
Groups: php.db 
Request: Send a blank email to php-db+get-11402@lists.php.net to get a copy of this message
I have a server runs Oracle. And my Station is Linux and i run client for Oracle in it, with the variables of ORACLE_HOME, ORACLE_SID and other is in the bash_profile of my user. Then i change de httpd.conf to apache runs with my users and group. I use PHP4 in a REDHAT 7.1. My problem is whem i put the connection in the PHP script use OCI.they not find the command. The apache send me the following error: Fatal error: Call to undefined function: oracle_connect() in /var/www/html/teste/oracle.php3 on line 4 I nead to include any class in my script. I look the manual on php.net, but it can´t help me. if someone has a tutorial of the connection of PHP with Oracle, please, send me. Sorry, my english, i´m from Brazil. Thank´s Rafael

« previous php.db (#11402) next »