ID: 22272
Comment by: michael dot mauch at gmx dot de
Reported By: webmaster at cryptpad dot com
Status: Open
Bug Type: Apache related
Operating System: RedHat 7.2
PHP Version: 4.3.1
New Comment:
> /install/php-4.3.1/ is where I installed PHP from. Should it really
be
> running the mod_php4.c file from there?
mod_php4.c is a C source file, it's not executed and only shown there
for reference.
> P.S. I also have a separate copy of apache running which is my ssl
> server. I tried to install PHP into that copy in the same way, and
it
> worked fine!!
Can you please make sure that the php.ini of your "bad" Apache
references the correct extension_dir, i.e. the one that belongs to the
same libphp4.so (LoadModule in httpd.conf)?
Previous Comments:
------------------------------------------------------------------------
[2003-02-19 04:16:52] webmaster at cryptpad dot com
Tried:
./configure --with-apxs=/usr/local/apache/bin/apxs
with and without --with-mysql
------------------------------------------------------------------------
[2003-02-19 04:13:32] [EMAIL PROTECTED]
What was the configure line used to configure PHP?
------------------------------------------------------------------------
[2003-02-19 04:02:25] webmaster at cryptpad dot com
No, None.
------------------------------------------------------------------------
[2003-02-18 18:05:24] [EMAIL PROTECTED]
Do you set any PHP settings via virtual host or .htaccess, if so, what
are they?
------------------------------------------------------------------------
[2003-02-18 08:38:11] webmaster at cryptpad dot com
Installed PHP as a DSO Module in Apache. Install went fine. Modified
httpd.conf file to include LoadModule & AddType declarations, then
stopped and started Apache.
Whenever I go to access a PHP page, it returns no data and puts the
following into the apache error log:
[Tue Feb 18 14:13:34 2003] [notice] child pid 9320 exit signal
Segmentation fault (11)
Doing a backtrace reveals the following:
(gdb) run -X
Starting program: /usr/local/apache/bin/httpd -X
Program received signal SIGSEGV, Segmentation fault.
0x4040c5e6 in send_php (r=0x83fa594, display_source_mode=0,
filename=0x0)
at /install/php-4.3.1/sapi/apache/mod_php4.c:498
498 per_dir_conf = (HashTable *)
get_module_config(r->per_dir_config,
&php4_module);
(gdb) bt
#0 0x4040c5e6 in send_php (r=0x83fa594, display_source_mode=0,
filename=0x0)
at /install/php-4.3.1/sapi/apache/mod_php4.c:498
#1 0x4040c80e in send_parsed_php (r=0x83fa594) at
/install/php-4.3.1/sapi/apache/mod_php4.c:571
#2 0x080afea3 in ap_invoke_handler ()
#3 0x080c4f03 in ap_some_auth_required ()
#4 0x080c4f64 in ap_process_request ()
#5 0x080bbda1 in ap_child_terminate ()
#6 0x080bbf4c in ap_child_terminate ()
#7 0x080bc0c0 in ap_child_terminate ()
#8 0x080bc738 in ap_child_terminate ()
#9 0x080bcf9b in main ()
#10 0x40087657 in __libc_start_main (main=0x80bcbf4 <main>, argc=2,
ubp_av=0xbffff9b4,
init=0x8065630 <_init>, fini=0x8172b40 <_fini>,
rtld_fini=0x4000dcd4 <_dl_fini>,
stack_end=0xbffff9ac)
at ../sysdeps/generic/libc-start.c:129
/install/php-4.3.1/ is where I installed PHP from. Should it really be
running the mod_php4.c file from there?
Can anyone help?
P.S. I also have a separate copy of apache running which is my ssl
server. I tried to install PHP into that copy in the same way, and it
worked fine!!
Both Apache versions are 1.3.27
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22272&edit=1