Re: Fedora 9-->10 ..now "oracle connect error"
| From: | Fred Silsbee | Date: | Fri, 14 Aug 2009 16:16:43 +0000 |
| Subject: | Re: Fedora 9-->10 ..now "oracle connect error" | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-46447@lists.php.net to get a copy of this message | ||
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@oracle.com> wrote:
> From: Christopher Jones <christopher.jones@oracle.com>
> Subject: Re: [PHP-DB] Fedora 9-->10 ..now "oracle connect error"
> To: "Fred Silsbee" <fredsilsbee@yahoo.com>
> Cc: php-db@lists.php.net
> 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
>