Alberto grájeda c. <[EMAIL PROTECTED]> 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 -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php