ID: 26965
Updated by: [EMAIL PROTECTED]
Reported By: louis at 6internet dot com
-Status: Feedback
+Status: Bogus
Bug Type: Apache2 related
Operating System: Red Hat Enterprise Linux ES v3
PHP Version: 5CVS-2004-01-20
New Comment:
Your OS comes with preinstalled Apache2+PHP.
You need to remove the preinstalled PHP to fix this.
(more detailed explanation sent via email)
Previous Comments:
------------------------------------------------------------------------
[2004-01-22 06:53:58] [EMAIL PROTECTED]
Must be something wrong with your system as I'm running PHP 5 in
Apache2 and don't get any segfaults..(if you can provide access to this
machine, send me the details to [EMAIL PROTECTED])
------------------------------------------------------------------------
[2004-01-22 05:59:00] louis at 6internet dot com
No, PHP on the command line seems to be working ok. Passing PHP the
plain HTML file on the command line outputs the HTML as expected,
whereas in Apache 2 it seg faults.
Just to clarify, two files (index.html and index.php) which are
identical and contain simply:
<html>
<head>
<title>Test</title>
</head>
<body>
A test for php
</body>
</html>
But, loading index.html displays fine as expected while loading
index.php seg faults.
Please do let me know if any more info would help diagnosis. I may be
able to arrange full root access to the system if that would help? It
is just a test RHEL ES v3 system with nothing except PHP 5 added yet
because I haven't got it working yet. If so please let me know what
address to mail the IP/password to off the bug database.
------------------------------------------------------------------------
[2004-01-21 14:50:36] [EMAIL PROTECTED]
Does this crash happen with CLI ??
------------------------------------------------------------------------
[2004-01-21 06:20:54] louis at 6internet dot com
Thanks for coming back sniper.
httpd -l gives me:
Compiled in modules:
core.c
prefork.c
http_core.c
mod_so.c
So I think that means the prefork MPM is in use.
PHP was compiled with:
./configure --with-apxs2=/usr/sbin/apxs --with-pgsql
Lines added to /etc/httpd/conf/httpd.conf:
LoadModule php5_module modules/libphp5.so
AddType application/x-httpd-php .php
Many thanks
------------------------------------------------------------------------
[2004-01-20 19:30:26] [EMAIL PROTECTED]
What MPM is used with Apache?
What was the configure line used to configure PHP?
How was PHP configured in Apache httpd.conf?
------------------------------------------------------------------------
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/26965
--
Edit this bug report at http://bugs.php.net/?id=26965&edit=1