Re: Re: PHP crashing with using Oracle (SOLVED... well, sorta)
| From: | Reuben D. Budiardja | Date: | Mon, 07 Jul 2003 19:58:45 +0000 |
| Subject: | Re: Re: PHP crashing with using Oracle (SOLVED... well, sorta) | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-29136@lists.php.net to get a copy of this message | ||
Apparently there is a bug or something with OCI8 extention for PHP-4.3.2.
Using the same configuration and everything, I compiled PHP-4.3.1, and 4.2.3
and both worked.
I send e-mail to PHP-DEV wondering if this is a known bug that has been
reported before. So if anyone has the same experience, I would certainly like
to know. It's curious that no one has catch this, if that's really the case.
Thanks for everyone who's helped.
RDB
On Monday 07 July 2003 09:44 am, Reuben D. Budiardja wrote:
> [Cross posting to PHP-DEV, sorry if this is inappropriate, but this maybe a
> bug]
>
> On Saturday 05 July 2003 05:28 pm, Reuben D. Budiardja wrote:
> > Hello,
> > I installed PHP-4.3.2 with oci8 and oracle support (using --with-oci8
> > --with-oracle).
> > I recompile apache-1.3.27 to use the libpthread as mentioned here:
> > http://ww.php.net/oci8
> >
> > Now, I got crashes when using oracle with php. In my apache error logs, I
> > get:
> >
> > [Sat Jul 5 17:24:28 2003] [notice] child pid 17496 exit signal
> > Segmentation fault (11)
> > [Sat Jul 5 17:24:29 2003] [notice] child pid 17558 exit signal
> > Segmentation fault (11)
> >
> > and the application would just do nothing (I tried reload, submit, etc).
> >
> > if this happens, the only way I can fix it is by restarting apache. Could
> > anyone give me pointer what's going on here and how to fix it?
> >
> > In case this matters, the Oracle 9i DB server is also in the same box.
> > Somehow it has it's own Apache, but I don't use that.
> >
> > Thanks for any help.
> > RDB
>
> Replying to mysef:
>
> Seems that I narrow this problem down to the OCI8 extension. Using the same
> database and configuration and all, I recompile PHP with the extension
> --with-oracle, and instead using OCI8 functions, I use the oracle functions
> analogous to the oci8.
>
> And so far it has not crashed yet. Is there a known problem with OCI8 with
> the most recent PHP distribution ?
>
> Next, I think I am going to try using older PHP versions. I have used PHP
> with OCI8 before with older release (although I was not the one who
> compiled it), so this is really puzzling and frustrating to me.
>
> Thanks for any suggestions
>
> Reuben D. Budiardja
--
Reuben D. Budiardja
Department of Physics and Astronomy
The University of Tennessee, Knoxville, TN
-------------------------------------------------
/"\ ASCII Ribbon Campaign against HTML
\ / email and proprietary format
X attachments.
/ \
-------------------------------------------------
Have you been used by Microsoft today?
Choose your life. Choose freedom.
Choose LINUX.
-------------------------------------------------