Re: Oracle + PHP + Linux Red Hat {again}

From: Date: Thu, 06 Feb 2003 18:35:41 +0000
Subject: Re: Oracle + PHP + Linux Red Hat {again}
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-25497@lists.php.net to get a copy of this message
Alberto grájeda c. <beto@teleinf.upb.edu> wrote: > Connected to DataBase Oracle! > Warning: OCIStmtExecute: ORA-03106: fatal two-task communication protocol > error in /var/www/html/ora2.php on line 21 > > Warning: OCIFetchStatement: ORA-24374: define not done before fetch or > execute and fetch in /var/www/html/ora2.php on line 22 > Found: 0 results > > I'm running redhat 7.3 with oracle 9i client connecting to oracle 8.0.5 > Server on NT. I put the putEnv to $ORACLE_HOME,$ORACLE_SID,I use > OCIDefineByName, but the result is the error. Don't use PutEnv() to set these variables, and don't use Apache's SetEnv. At least if you are using mod_php, neither PutEnv() nor SetEnv work. Set these variables in the environment before you start Apache, e.g. in the apachectl script. Regards... Michael

« previous php.db (#25497) next »