php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1730 OCIand ora_ logon are broken
Submitted: 1999-07-17 08:47 UTC Modified: 2006-07-17 08:49 UTC
From: alex at galdr dot demon dot co dot uk Assigned:
Status: Not a bug Package: OCI8 related
PHP Version: 3.0.9 OS: Solaris
Private report: No CVE-ID: None
 [1999-07-17 08:47 UTC] alex at galdr dot demon dot co dot uk
We attemted to run 3.0.11 but the regex parts of our code which had been stable for some months started causing a lot of hard to trace errors ( blank HTMLpages for example). simply deleting the regex code produced a program that removed the sysmptoms but did not work. The problem seemed to be in eregi_replace

The sysadmin then decided to revert to 3.0.9 which worked.

We have an oracle database. I can connect to it and interrogate it via sqlplus but the statements

$conn=ora_logon($username,$password);
$conn=OCIlogon($username,$password) did not work.

Permutations of the arguments such as 
$username@tnsname,$password

 or 

$username@tnsname/$password

and swapping arguments round did nothing.

Errors varies from "ORACLE NOT AVAILABLE" through
"TNS failed to resolve service name to
"Fatal 2-task protocol communications error"

Our local oracle expert ( who set up the DB) says we should not need ORACLE_SID as the database is not on the machine that hosts the webserver.

That's all the information I can give you. Thereis no php3.ini file and I cannot give you the configure line.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-16 08:35 UTC] sander@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately, PHP 3 is no longer supported. Please download
the latest version of PHP 4 from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 12 11:01:28 2024 UTC