ID:               22272
 Comment by:       arnarb at oddi dot is
 Reported By:      webmaster at cryptpad dot com
 Status:           Bogus
 Bug Type:         Apache related
 Operating System: RedHat 7.2
 PHP Version:      4.3.1
 New Comment:

I'm having the exact same problem, both with php 4.3.4 and 4.3.5RC2. My
Apache version is 1.3.23, and only standard DSO's are loaded.

php was in both cases configured with 
./configure --prefix=/usr --with-apxs=/usr/sbin/apxs

Here's what gdb gives me

(gdb) run -X
Starting program: /usr/sbin/httpd -X

Program received signal SIGSEGV, Segmentation fault.
0x405bfc22 in send_php (r=0x80e88d4, display_source_mode=0,
filename=0x0)
    at /usr/src/php-4.3.5RC2/sapi/apache/mod_php4.c:562
562                     per_dir_conf = (HashTable *)
get_module_config(r->per_dir_config, &php4_module);
(gdb) print per_dir_conf
$1 = (HashTable *) 0x21
(gdb) print r
$2 = (request_rec *) 0x80e88d4
(gdb) print r->per_dir_config
$3 = (void *) 0x0
(gdb) print &php4_module
$4 = (module *) 0x405fb000
(gdb) bt
#0  0x405bfc22 in send_php (r=0x80e88d4, display_source_mode=0,
filename=0x0)
    at /usr/src/php-4.3.5RC2/sapi/apache/mod_php4.c:562
#1  0x405bfe72 in send_parsed_php (r=0x80e88d4)
    at /usr/src/php-4.3.5RC2/sapi/apache/mod_php4.c:635
#2  0x8054209 in ap_invoke_handler (r=0x80e88d4) at http_config.c:517
#3  0x806962f in process_request_internal (r=0x80e88d4) at
http_request.c:1308
#4  0x8069696 in ap_process_request (r=0x80e88d4) at
http_request.c:1324
#5  0x80603a0 in child_main (child_num_arg=0) at http_main.c:4565
#6  0x8060561 in make_child (s=0x8094364, slot=0, now=1076179775)
    at http_main.c:4669
#7  0x80606dc in startup_children (number_to_start=5) at
http_main.c:4751
#8  0x8060d6d in standalone_main (argc=2, argv=0xbffff674) at
http_main.c:5056
#9  0x80615cc in main (argc=2, argv=0xbffff674) at http_main.c:5401
#10 0x401832eb in __libc_start_main (main=0x8061238 <main>, argc=2,
    ubp_av=0xbffff674, init=0x804e240 <_init>, fini=0x807ef3c <_fini>,
    rtld_fini=0x4000c130 <_dl_fini>, stack_end=0xbffff66c)
    at ../sysdeps/generic/libc-start.c:129


Previous Comments:
------------------------------------------------------------------------

[2003-02-23 03:10:07] [EMAIL PROTECTED]

Okay.


------------------------------------------------------------------------

[2003-02-21 10:40:16] webmaster at cryptpad dot com

Tried a clean install. Still didn't work.

Here's something else interesting: I tried to set up apache and php on
my Windows machine instead, and when I tried to install it as a module,
it just downloaded the files instead of parsing them, and when I tried
installing it as a CGI program, I got a "Cannot find server or DNS
error" page.

I am obviously congenitally incapable of installing PHP on anything.
Either that or 4.3.1 doesn't work. Whatever it is, I think I've wasted
far too much of my time trying to set the sodding thing up, so I think
I'll just stick to using Perl.

------------------------------------------------------------------------

[2003-02-21 07:06:22] [EMAIL PROTECTED]

Sometimes it's good idea to start from clean table..like in this case
where you're the only one having the problem. :)

Get fresh sources of Apache 1.3.27, compile it with 
the DSO support, get fresh PHP 4.3.1 sources, and use that
plain simple configure line. 

And btw. Do you happen to have any modules in Apache that also use
mysql? If so, you should propably try and configure using
--with-myslq=/path/to/mysql/install/prefix



------------------------------------------------------------------------

[2003-02-21 05:38:37] [EMAIL PROTECTED]

Could you first try to *not* load mod_perl and comment out any
PerlModule directives.

If that works, try configuring php, with --without-xml.

As outlined in AxKit docs, does your Apache compile have the
recommended --disable-rule=EXPAT option?



------------------------------------------------------------------------

[2003-02-21 04:52:36] webmaster at cryptpad dot com

It's a perl module.
I tried editing out all the AxKit lines in the Apache config, but that
still didn't work, so I guess it isn't that.

Any other ideas? Surely I'm not the only person in the world to have
this problem?

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/22272

-- 
Edit this bug report at http://bugs.php.net/?id=22272&edit=1

Reply via email to