php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6899 OCI8 doesn't work with ORALCE 8.16 for linux on redhat 6.2
Submitted: 2000-09-27 04:51 UTC Modified: 2001-02-20 07:54 UTC
From: eric at otherways dot com Assigned:
Status: Closed Package: OCI8 related
PHP Version: 4.0.2 OS: Redhat 6.2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: eric at otherways dot com
New email:
PHP Version: OS:

 

 [2000-09-27 04:51 UTC] eric at otherways dot com
I thought it might be bug, because the Oralce 8.16 for linux is quite new.

after successful complie and installation, when tried to access oracle like this:
<?
ocilogon("system","test","TEST");
?>

I get this error
Warning: _oci_open_server: Error while trying to retrieve text for error ORA-12546 in /home/otherways/htdocs/testo.php on line 2

ORA-12546 TNS:permission denied
Cause: User has insufficient privileges to perform the requested operation.  
Action: Acquire necessary privileges and try again.  

but I use "sqlplus system/test@TEST", it totally ok.

why php can't access oracle?

but oracle 8.16 for solaris sparc + apache1.3.12 + php4.02 + solaris 7 have no such a problem, it work great!

it seems only happen my linux(redhat6.2)+ oracle 8.16 for linux + php4.02

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-07 19:48 UTC] sniper@php.net
Have you set all the needed environment variables before starting apache?
See http://www.php.net/manual/ref.oci8.php  for more info.

--Jani
 [2001-01-09 02:39 UTC] steinm@php.net
It works here on a SuSE 6.x using php 4.03 if at least
ORACLE_HOME is set
 [2001-02-20 07:54 UTC] sniper@php.net
Environment vars..closed.

--Jani

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed May 21 04:01:26 2025 UTC