Re: what sets the ORACLE_HOME variable and sets PHP/Apache environment
| From: | Fred Silsbee | Date: | Wed, 19 Nov 2008 02:30:03 +0000 |
| Subject: | Re: what sets the ORACLE_HOME variable and sets PHP/Apache environment | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-45656@lists.php.net to get a copy of this message | ||
there is a file /etc/httpd/conf/httpd.conf
I tried putting the ORACLE_HOME in this file but it failed
--- On Wed, 11/19/08, Chris <dmagick@gmail.com> wrote:
> From: Chris <dmagick@gmail.com>
> Subject: Re: [PHP-DB] what sets the ORACLE_HOME variable and sets PHP/Apache environment
> To: fredsilsbee@yahoo.com
> Cc: php-db@lists.php.net
> Date: Wednesday, November 19, 2008, 1:43 AM
> Fred Silsbee wrote:
> > oci8
> > OCI8 Support enabled
> > Version 1.3.4
> > Revision $Revision: 1.269.2.16.2.38.2.20 $
> > Active Persistent Connections 0
> > Active Connections 0
> > Compile-time ORACLE_HOME no value
> <<<<<<<<<<<<<<<<<<<<<
>
> /etc/apache2/envvars
>
> (or /etc/httpd/envvars depending on the o/s)
>
> use is:
>
> export ORACLE_HOME=/path/to/oracle/home
>
> You'll need to do a full apache restart, a HUP
> won't make it read this file.
>
> -- Postgresql & php tutorials
> http://www.designmagick.com/