[Wed Nov 05 15:51:21 2003] [notice] child pid 13498 exit signal Segmentation fault (11) Reproducible: Always Steps to Reproduce: 1.Working oracle9i installation 2.use oci8 in /etc/make.conf 3.set ORACLE_HOME in root user 4. modified mod_php-4.3.3-r3 to allow "--enable-sigchild" after reading official oracle documentation which can be found at : http://otn.oracle.com/tech/opensource/php/apache/inst_php_apache_linux.html 5. emerge apache 6. emerge mod_php 7. /etc/init.d/apache2 start Actual Results: tried oci8test.php from : http://otn.oracle.com/tech/opensource/php/apache/inst_php_apache_linux.html and i had blank page, then i saw /var/log/apache2/error_log and found: [Wed Nov 05 17:19:57 2003] [notice] Apache/2.0.48 (Gentoo/Linux) PHP/4.3.3 configured -- resuming normal operations [Wed Nov 05 17:20:11 2003] [notice] child pid 17290 exit signal Segmentation fault (11) [Wed Nov 05 17:20:11 2003] [notice] child pid 17288 exit signal Segmentation fault (11) [Wed Nov 05 17:20:11 2003] [notice] child pid 17287 exit signal Segmentation fault (11) Expected Results: should have shown me output from that oracle query If i do a normal installation from vanilla sources and i do a /usr/local/apache/bin/apachectl start then all the stuff works perfectly, so i think it is a problem with apache and/or mod_php ebuild I'm not the only guy with this problem, check: http://forums.gentoo.org/viewtopic.php?t=101694 this one have my same problem root@ordini mod_php # emerge --info Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22) ================================================================= System uname: 2.4.22 i686 Intel(R) Xeon(TM) CPU 2.40GHz Gentoo Base System version 1.4.3.10 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi g /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="ftp://sunsite.cnlab-switch.ch/mirror/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/usr/portage/build" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://gentoo.localsipal/gentoo-portage" USE="x86 ssl pam sse gd png jpeg xml xml2 zlib tiff imap pdflib crypt oci8 perl"
Note that user has a fix and patch on the forum link.
Hmm patch involves setting basic ORACLE environment vars, which the ebuild will probably need to read in from env and somehow patch into the init script. Perhaps creating a patch file on the fly and then patching?
*** This bug has been marked as a duplicate of 32364 ***