Bug #17614: After a few hours, PHP scripts are returned as-is and not run
| From: | bmerry at cs dot uct dot ac dot za | Date: | Wed, 05 Jun 2002 18:06:17 +0000 |
| Subject: | Bug #17614: After a few hours, PHP scripts are returned as-is and not run | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-9561@lists.php.net to get a copy of this message | ||
From: bmerry@cs.uct.ac.za
Operating system: Debian/unstable
PHP version: 4.2.1
PHP Bug Type: Scripting Engine problem
Bug description: After a few hours, PHP scripts are returned as-is and not run
First some more details:
- PHP from Debian package php4_2:4.2.1-3.
- Apache-ssl from Debian package apache-ssl_1.3.24.3+1.48-2
- Linux 2.4.18
The website is running a "main" site, a number of virtual hosts with PHP
disabled (engine off) and a virtual host in which UserDir's are enabled.
UserDir scripts are put into safe mode via a <Directory
/home/*/public_html> block.
After running the server for a few hours, the main site still works fine
but all user scripts are returned to the client verbatim e.g. I have a
script that just contains
<?php
phpinfo();
?>
and when I 'view source' in the browser that is exactly what I see.
When I SIGHUP apache, all is well again for an hour or so and then it
stops working again. Looking in the apache logs I don't see any indication
of the problem. I can't even tell if this is an Apache problem (not
passing the script to the PHP module or a PHP problem) - if you have any
test I can do for this let me know.
I haven't attached any server info since it is rather large. You can see
the output of phpinfo() at http://www.smuts.uct.ac.za/phpinfo.php. The
test script above is at http://users.smuts.uct.ac.za/~bmerry/test.php.
It
will either give you the output of phpinfo() or the script verbatim. If
you want other info (such as the Apache config) let me know.
--
Edit bug report at http://bugs.php.net/?id=17614&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17614&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17614&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17614&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17614&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17614&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17614&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17614&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17614&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17614&r=globals