Segmentation Fault in child (poor child!)
| From: | Damon | Date: | Mon, 30 Dec 2002 16:58:17 +0000 |
| Subject: | Segmentation Fault in child (poor child!) | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-9469@lists.php.net to get a copy of this message | ||
I'm having a problem getting php scripts to execute. When I point to my
test.php file I get the standard IE "Cannot be displayed" error.
I'm using Redhat 7.1. I wanted to install Slash, which required recompiling
Apache through the mod_perl install. I told apache to include mod_so so I
could compile a DSO version of php.
The mod_php4 appears to be loading:
# /usr/local/apache/bin/httpd -l
Compiled-in modules:
http_core.c
...
mod_perl.c
mod_php4.c
suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec
and...
# httpd -v
Server version: Apache/1.3.27 (Unix)
Server built: Dec 22 2002 14:37:04
I've put in the LoadModule and AddType directives into the httpd.conf as the
instruction said, as well as copy over the php.ini-distribution to
/usr/local/lib/php/php.ini. The logs show:
[Mon Dec 30 16:33:10 2002] [notice] Apache/1.3.27 (Unix) PHP/4.2.3 PHP/4.2.3
mod_perl/1.27 configured -- resuming normal operations
[Mon Dec 30 16:33:10 2002] [notice] Accept mutex: sysvsem (Default: sysvsem)
should there be two "PHP/4.2.3"'s in that line? If I take out the
LoadModule directive for PHP (there's only one in httpd.conf) then I get
[Mon Dec 30 16:46:49 2002] [notice] Apache/1.3.27 (Unix) PHP/4.2.3
mod_perl/1.27 configured -- resuming normal operations
[Mon Dec 30 16:46:49 2002] [notice] Accept mutex: sysvsem (Default: sysvsem)
I've restarted my server, rebooted, and thrown salt over my shoulder. I can
access any of the web pages fine but trying to execute my test.php or my old
mysqladmin (which worked before I had to upgrade apache).
In the apache logs I get
[Mon Dec 30 16:42:18 2002] [notice] child pid 13223 exit signal Segmentation
fault (11)
whenever I try and load a .php file. Any suggestions?
-
natch