Re: oci8 client libraries

From: Date: Wed, 23 Aug 2000 16:27:12 +0000
Subject: Re: oci8 client libraries
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-2299@lists.php.net to get a copy of this message
Hi ! Here goes: Syntax error on line 224 of /usr/local/apache/conf/httpd.conf: LoadModule php4_module libexec/libphp4.so ;^) and libphp4.so is there! And I have AddModule mod_php4.c in httpd.conf too! >Do you have any lines in your httpd.conf that begin with "SetEnv" ? If >not, you'll need to add these two: >SetEnv TNS_ADMIN "path\to\dir\containing\tnsnames.ora file" >SetEnv ORACLE_HOME "path\to\oracle home" yapp, I have both of them! It works with And I removed $ORACLE_SID from my shell! But it didn't help! Still the same error message! Jarek Vince LaMonica wrote: > On 2000-08-22, Jarek Holgersson stated: > > } I installed whole oracle on my webserver too. > } And it worked! > } Wow! > > Cool! :) > > } Syntax error on line 224 of /usr/local/apache/conf/httpd.conf: > > Can you e.mail us line 224 of your httpd.conf file? > > } I suppose that some env-variables are missing! > } Am I right? > > Do you have any lines in your httpd.conf that begin with "SetEnv" ? If > not, you'll need to add these two: > > SetEnv TNS_ADMIN "path\to\dir\containing\tnsnames.ora file" > SetEnv ORACLE_HOME "path\to\oracle home" > > Both of these directories need to be local - ie: not a network directory. > > } What is symbol OCIEnvInit ? > } > } I have $ORACLE_HOME,$SID,$TNS_ADMIN in my shell! > > You don't want to have $SID in your shell; esp. if you need to access > multiple databases. It is better if you remove $SID, and just define > ORACLE_HOME and TNS_ADMIN. > > HTH, > > /vjl/ > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.db (#2299) next »