since I copied httpd.conf.rpmnew into httpd.conf I had to set the listen port to 8080 since my ISP blocks port 80 now phpinfo.php works! now oracle php works! Thanks! soon I'll be switching Fedora 10-->Fedora 11 and prob have to make the change again --- On Fri, 8/14/09, Christopher Jones <christopher.jones@xxxxxxxxxx> wrote: > From: Christopher Jones <christopher.jones@xxxxxxxxxx> > Subject: Re: Fedora 9-->10 ..now "oracle connect error" > To: "Fred Silsbee" <fredsilsbee@xxxxxxxxx> > Cc: php-db@xxxxxxxxxxxxx > Date: Friday, August 14, 2009, 12:05 AM > > Fred Silsbee wrote: > >> in /etc/httpd/conf/httpd.conf > >> > >> SetEnv ORACLE_HOSTNAME localhost.localdomain > >> SetEnv TNS_ADMIN > >> /u01/app/oracle/product/11.1.0/db_1/network/admin > >> SetEnv ORACLE_BASE /u01/app/oracle > >> SetEnv ORACLE_HOME > /u01/app/oracle/product/11.1.0/db_1 > >> SetEnv ORACLE_SID lmkiiiGDNSID > >> SetEnv ORACLE_TERM xterm > >> SetEnv LD_LIBRARY_PATH > /u01/app/oracle/product/11.1.0/db_1/lib > > From experience, using Apache's SetEnv directive is > sometimes > insufficient to set the environment. See "Where do I > set Oracle > environment variables?" in http://wiki.oracle.com/page/PHP+Oracle+FAQ > > Also see page 105 onwards in > http://www.oracle.com/technology/tech/php/underground-php-oracle-manual.html > > On RHEL and Oracle EL I put the environment variables in > /etc/sysconfig/httpd (as shown on page 108). > > Chris > > > -- Blog: http://blogs.oracle.com/opal > Twitter: http://twitter.com/ghrd > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php