Re: PHP 4.0 Bug #2782: Apache 1.3.9 crashes when trying to load PHP4b3 module
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: PHP 4.0 Bug #2782: Apache 1.3.9 crashes when trying to load PHP4b3 module | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-12830@lists.php.net to get a copy of this message | ||
You have to build the PHP DSO against the patched version of Apache. As
in, after installing mod_ssl.
On 20 Nov 1999 andri@marknet.ee wrote:
> From: andri@marknet.ee
> Operating system: Linux 2.2.13
> PHP version: 4.0 Beta 3
> PHP Bug Type: Reproduceable crash
> Bug description: Apache 1.3.9 crashes when trying to load PHP4b3 module
>
> Apache crashes when trying to load PHP4 module, regardless of what I compile in to php4. Note
> that I have not had any success with b1 or b2 either, too.
> Apache is self-compiled 1.3.9, with EAPI (mod_ssl), PHP3.0.12 and Apache/Jserv. Sources from RH
> SRPM, (created a EAPI patch).
>
> A little copy from my console:
> -----
> [root@grumpy php-4.0b3]# /usr/sbin/httpd
> [Sat Nov 20 21:56:18 1999] [warn] Loaded DSO lib/apache/mod_jserv.so uses plain
> Apache 1.3 DSO, this module might crash under EAPI!
> [Sat Nov 20 21:56:19 1999] [warn] Loaded DSO lib/apache/libphp3.so uses plain Apache 1.3 DSO,
> this module might crash under EAPI!
> Segmentation fault
> [root@grumpy php-4.0b3]# gdb /usr/sbin/httpd
> GNU gdb 4.18
> Copyright 1998 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for details.
> This GDB was configured as "i386-redhat-linux"...
> (no debugging symbols found)...
> (gdb) run
> Starting program: /usr/sbin/httpd
> [Sat Nov 20 21:56:26 1999] [warn] Loaded DSO lib/apache/mod_jserv.so uses plain
> Apache 1.3 DSO, this module might crash under EAPI!
> [Sat Nov 20 21:56:28 1999] [warn] Loaded DSO lib/apache/libphp3.so uses plain Apache 1.3 DSO,
> this module might crash under EAPI!
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x20636973 in ?? ()
> (gdb) bt
> #0 0x20636973 in ?? ()
> #1 0x404ae9a8 in sapi_startup (sf=0x405515c0) at SAPI.c:79
> #2 0x404f1402 in php_init_handler (s=0x8093af4, p=0x8093acc) at mod_php4.c:503
> #3 0x8054b21 in ap_init_modules ()
> #4 0x805c25e in main ()
> #5 0x400b91eb in __libc_start_main (main=0x805bff0 <main>, argc=1,
> argv=0xbffffd04, init=0x804efc8 <_init>, fini=0x807b35c <_fini>,
> rtld_fini=0x4000a610 <_dl_fini>, stack_end=0xbffffcfc)
> at ../sysdeps/generic/libc-start.c:90
> (gdb)
> -----
>
> Dunno. EAPI trouble? Maybe.
>
> PHP4 was configured with: ./configure --with-apxs=/usr/sbin/apxs
>
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>