php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11172 Can't connetc to Oracle DB
Submitted: 2001-05-29 11:32 UTC Modified: 2002-04-13 08:36 UTC
From: rso at carl-intl dot fr Assigned:
Status: Closed Package: OCI8 related
PHP Version: 4.0 Latest CVS ( OS: Win NT4 SP6
Private report: No CVE-ID: None
 [2001-05-29 11:32 UTC] rso at carl-intl dot 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 ...

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-13 08:36 UTC] thies@php.net
you have to load the php_oci8.dll (uncomment it in php.ini)

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 14 07:01:27 2024 UTC