Bug #11172 Updated: Can't connetc to Oracle DB

From: Date: Sat, 13 Apr 2002 12:36:57 +0000
Subject: Bug #11172 Updated: Can't connetc to Oracle DB
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-4840@lists.php.net to get a copy of this message
ID: 11172 Updated by: thies@php.net Reported By: rso@carl-intl.fr -Status: Open +Status: Closed Bug Type: OCI8 related Operating System: Win NT4 SP6 -PHP Version: 4.0 Latest CVS (2001-05-29) +PHP Version: 4.0 Latest CVS ( New Comment: you have to load the php_oci8.dll (uncomment it in php.ini) Previous Comments: ------------------------------------------------------------------------ [2001-05-29 11:32:15] rso@carl-intl.fr I have PHP 4.0.6 dev, and Apache february 2000 I have trouble when I try to connect Oracle Oracle is correctly installed, it works with Sql*Plus But with this : <?php putenv("ORACLE_SID=ORA8"); putenv("ORACLE_HOME=D:\ORANT"); $conn = ocilogon("scott", "tiger", "oracle8") or die; echo "test"; ?> I have this : X-Powered-By: PHP/4.0.6-dev Content-type: text/html Fatal error: Call to undefined function: ocilogon() in c:\phpdev\www\testoracle.php on line 5 I'm working on win NT4, do I have to compile Apache? When I try extension=php_oci8.dll I have 2 messages like : OCILobOpen is not found in OCI.DLL Then Unable to load dynamic library 'C:\..\Php_oci8.dll' Specified procedur is not found !!!! Can you help me thanks Sorry for my English, I'm French ... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=11172&edit=1

« previous php.bugs (#4840) next »