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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
2 + 34 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Thu Mar 28 15:01:29 2024 UTC