Page 1 of 1
PHP5 installed, but not working
Posted: Tue Mar 23, 2004 10:15 am
by allelopath
I've now got PHP5 installed, but it doesn't appear to be working
When i try to access a page, like
http://localhost/index.php, it shows a blank
An error is noted in /usr/local/apache/logs/error_log:
[Tue Mar 23 09:07:52 2004] [notice] child pid 1381 exit signal Segmentation fault (11)
Not much to go on.
Where can I look for more info?
Posted: Tue Mar 23, 2004 10:50 am
by allelopath
http://php.dotgeek.org/manual/en/install.apache2.php says:
In your error logs, you may find errors resembling the following:
child pid 16811 exit signal Segmentation fault (11)
Reinstalling Apache using the traditional prefork model (i.e. do not place a --with-mpm=xxx statement when compiling Apache) solves the problem.
In other words, believe the documentation when it tells you that PHP works best with the prefork model.
What's a prefork model?
Posted: Tue Mar 23, 2004 10:59 am
by ol4pr0
Installing php5 is a bad idea anyway ( unless its installed in a second server for trying out the new gadget

)
Posted: Wed Mar 24, 2004 1:32 am
by Pyrite
Yea, I'm not going go PHP5 for at least another 6 months or more.
Posted: Wed Mar 24, 2004 12:08 pm
by malcolmboston
lol, im not moving from PHP 4.2.2, it has all the functions i need for the time being
Posted: Fri Mar 26, 2004 5:22 pm
by allelopath
Found the problem.
i was running Apache against php 4.3.4 AND php5.0.0RC1 which is apparenlty a bad thing.
i removed the libphp4.so line from httpd.conf and it works