PHP 4.0 Bug #6899: OCI8 doesn't work with ORALCE 8.16 for linux on redhat 6.2
| From: | eric at otherways dot com | Date: | Wed, 27 Sep 2000 08:51:19 +0000 |
| Subject: | PHP 4.0 Bug #6899: OCI8 doesn't work with ORALCE 8.16 for linux on redhat 6.2 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-33765@lists.php.net to get a copy of this message | ||
From: eric@otherways.com
Operating system: Redhat 6.2
PHP version: 4.0.2
PHP Bug Type: OCI8 related
Bug description: OCI8 doesn't work with ORALCE 8.16 for linux on redhat 6.2
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