#26180 [NEW]: server randomly sends source code of php page to browser
From: svec at nostromo dot cz
Operating system: redhat linux 7.3 w 2.4.9 kernel
PHP version: 4.3.4
PHP Bug Type: Apache2 related
Bug description: server randomly sends source code of php page to browser
Description:
------------
config: php from 4.3.1 to 4.3.4 , apache2, latest versions (now 2.0.48),
latest openssl
apache & php configured with ssl, we have either our (thawte) ssl server
certificate, either our custom certificate, built from openssl package.
Problem:
Server randomly sends source code of php page to browser,
(from 10 pageviews, 3 pages are sent as source code, 7 as good -> php
processed page)
- it happens only on some php pages, don't rely on amount scripting in
page.
- happens on pages, which includes other php scripts (php libs etc)
but: it started to happen from php version 3.x.x , last version of php,
which functioned well, was 4.2.3 , without any flaw or problem
happens on all browsers, for example opera, ie, netscape
on version 4.3.1, php crashed with segfault (it was on httpd error log),
now (version 4.3.2 -> 4.3.4) it only sends source of page to browser, no
crash and crash info written to httpd error log.
i thought it was due to deflate mod i am using on apache2, but it happened
too when deflate filter was switched off (commented out in httpd.conf)
--
Edit bug report at http://bugs.php.net/?id=26180&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26180&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26180&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=26180&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=26180&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=26180&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=26180&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=26180&r=support
Expected behavior: http://bugs.php.net/fix.php?id=26180&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=26180&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=26180&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=26180&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26180&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=26180&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=26180&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=26180&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26180&r=float
Thread (4 messages)
- svec at nostromo dot cz