Re: Oracle 9i connection problems.
| From: | Paul Edmondson | Date: | Wed, 17 Apr 2002 10:04:43 +0000 |
| Subject: | Re: Oracle 9i connection problems. | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-18591@lists.php.net to get a copy of this message | ||
After further testing I have narrowed the problem down further.
Apache 1.3.23 and PHP 4.2.0 RC4 do work and do connect to the database
if the environment variable ORACLE_HOME is set.
However when using Apache 2.0.35 :
- With ORACLE_HOME set, apache does not start
- Without ORACLE_HOME apache seg faults when trying to connect.
I guess I'll just continue to use Apache 1.3.x for the time being.
On Tue, 2002-04-16 at 16:49, Thies C. Arntzen wrote:
> On Tue, Apr 16, 2002 at 04:48:19PM +0100, Paul Edmondson wrote:
> > Hello there,
> >
> > I have a problem with getting php-4.2.0 RC4 connecting to an Oracle 9i
> > (9.0.1) database running locally.
> >
> > I am running Apache 2.0.35 on SuSE 7.3.
>
> does it work with apache 1.3.x?
> >
> > The problem that I have is when trying to initiate a connection to the
> > database apache seg faults.
> >
> > An example of the code that causes the segmentation fault:
> >
> > <?php
> > echo "Trying to connect";
> > $conn = ocilogon("scott", "tiger", "");
> > echo "Connected"; // this is never reached
> > ?>
> >
> > Other things that may help track down the problem.
> >
> > Apache has been configured with:
> > ./configure --prefix=/usr/local/httpd-2.0.35 --enable-module=so
> >
> > PHP configured with:
> > ./configure --with-oci8 --with-apxs2=/usr/local/httpd-2.0.35
> >
> > Also tried with:
> > ./configure --with-oci8 --with-apxs2=/usr/local/httpd-2.0.35 \
> > --enable-sigchild
> >
> > ${ORACLE_HOME}/lib appears in ld.so.conf
> >
> > Thanks in advance for any help.
> >
> >
> >
> > --
> > ------------------------------------------------------------
> > Paul Edmondson, Software Engineer
> > Yospace: Creating Value for Wireless
> > 7 The Courtyard, High Street, Staines, UK, TW18 4DR
> > Tel: +44 1784 466388
> > Fax: +44 1784 466387
> > http://www.yospace.com
> >
> >
> >
> >
> >
> > --
> > PHP Database Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php