Date: Sat, 28 Jul 2007 07:20:04 -0700 (PDT) From: Simun Mikecin <numisemis@yahoo.com> To: tsr2600@gmail.com Cc: freebsd-database@freebsd.org Subject: Re: PHP5 + oci8 consistently segfaults on script exit Message-ID: <876507.10863.qm@web36614.mail.mud.yahoo.com>
next in thread | raw e-mail | index | archive | help
>I'm running FreeBSD 6.2-RELEASE-p1 and PHP 5.2.2 built with the oci8 >extension which is built against the oracle8-client port version >0.1.1_1. >Connecting to and working with an Oracle database works well so far, but >PHP segfaults whenever any script that uses the oci8 extension is run >and exits (regardless of success or failure). The segfault _only_ >occurs when PHP is tearing everything down after the script runs. >Therefore scripts run successfully, but my kernel logs look like this: >Jul 25 16:59:17 kernel: pid 89667 (php), uid 1003: exited on signal 11 >Jul 25 17:00:11 kernel: pid 89725 (php), uid 1003: exited on signal 11 >Jul 25 17:01:38 kernel: pid 89729 (php), uid 1003: exited on signal 11 >Jul 25 17:02:58 kernel: pid 89732 (php), uid 1003: exited on signal 11 Could you please try these and send feedback: 1) Try the same using PDO_OCI instead of oci8 extension 2) Try with this combination: apache 2.0 (port compiled with WITH_THREADS) + php + oci8 extension 3) Try with this combination: apache 2.0 (port compiled with WITH_THREADS) + php + PDO_OCI 2) and 3) should be triggered by HTTP request. ____________________________________________________________________________________Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV. http://tv.yahoo.com/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?876507.10863.qm>