ID: 6899 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Feedback Status: Closed Bug Type: OCI8 related Assigned To: Comments: Environment vars..closed. --Jani Previous Comments: --------------------------------------------------------------------------- [2001-01-09 02:39:32] [EMAIL PROTECTED] It works here on a SuSE 6.x using php 4.03 if at least ORACLE_HOME is set --------------------------------------------------------------------------- [2001-01-07 19:48:25] [EMAIL PROTECTED] Have you set all the needed environment variables before starting apache? See http://www.php.net/manual/ref.oci8.php for more info. --Jani --------------------------------------------------------------------------- [2000-09-27 04:51:19] [EMAIL PROTECTED] 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 --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=6899&edit=2 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]