On Monday 26 August 2002 10:43 am, Alex Lee wrote:
I ran into this on a RH7 box.  I compiled mod_perl into apache and compiled 
PHP as a DSO with APXS.  Worked for me, but YMMV.

> There seems to be conflict between mod_php 4.2.2 and mod_perl 1.27 running
> with Apache 1.3.26 on Solaris 8 platform(FreeBSD with the same
> configuration seems to work fine).
>
> The Apache configuration as follows:
>
> CC="gcc" \
> CFLAGS=" -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64" \
>
> ./configure \
> "--with-layout=Apache" \
> "--prefix=/usr/apache" \
> "--enable-module=info" \
> "--enable-module=proxy" \
> "--enable-module=usertrack" \
> "--enable-module=rewrite" \
> "--enable-module=speling" \
> "--activate-module=src/modules/perl/libperl.a" \
> "--activate-module=src/modules/php4/libphp4.a" \
> "--disable-rule=EXPAT" \
> "$@"
>
> will cause Apache to Segmentation fault:
> [Wed Aug 21 11:59:47 2002] [notice] child pid 17907 exit signal
> Segmentation Fault (11)
> when accessing the default page(index.html). But the CGI script runs
> fine, so does "server-status" and "server-info".
>
> If I take out the activate-module line for either mod_perl or mod_php,
> the problem disapper.
>
> BTW, the mod_perl "make test" runs fine.
>
> running with "truss ./httpd -X" produce:
>
> lwp_cond_wait(0xFEFE5550, 0xFEFE5560, 0xFEFDEDB8) (sleeping...)
> lwp_cond_wait(0xFEFE5550, 0xFEFE5560, 0xFEFDEDB8) (sleeping...)
> door_return(0x00000000, 0, 0x00000000, 0) (sleeping...)
> accept(16, 0xFFBEF798, 0xFFBEF7BC, 1)          = 5
> fcntl(19, F_SETLKW64, 0x00301C60)              = 0
> sigaction(SIGUSR1, 0xFFBEF5D0, 0xFFBEF6D0)     = 0
> getsockname(5, 0xFFBEF7A8, 0xFFBEF7BC, 1)      = 0
> setsockopt(5, 6, 1, 0xFFBEF70C, 4, 1)          = 0
> alarm(300)                                     = 0
> read(5, " G E T   /   H T T P / 1".., 4096)    = 404
> sigaction(SIGUSR1, 0xFFBED4C0, 0xFFBED5C0)     = 0
> time()                                          = 1029956894
> alarm(300)                                     = 300
> alarm(0)                                       = 300
> stat64("/usr/apache/htdocs", 0x00425108)       = 0
> sigaction(SIGALRM, 0x00000000, 0xFFBEF490)     = 0
> stat64("/usr/apache/htdocs/index.html", 0x0044A108) = 0
> stat64("/usr/apache/htdocs/index.html", 0x00425EC0) = 0
>      Incurred fault #6, FLTBOUNDS  %pc = 0x00073554
>       siginfo: SIGSEGV SEGV_MAPERR addr=0x00000060
>      Received signal #11, SIGSEGV [default]
>       siginfo: SIGSEGV SEGV_MAPERR addr=0x00000060
>        *** process killed ***
>
> Please help!
> Or if you know of a working combination of Apache/mod_perl/mod_php on
> Solaris 8, let me know..
>
> Thanks!
>
> Alex
>
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com

Reply via email to