#26627 [NEW]: I get source of php files instead of supposed output on random basis
| From: | info at gli dot ch | Date: | Mon, 15 Dec 2003 09:42:17 +0000 |
| Subject: | #26627 [NEW]: I get source of php files instead of supposed output on random basis | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-52077@lists.php.net to get a copy of this message | ||
From: info at gli dot ch
Operating system: Linux 2.4.20
PHP version: 4.3.4
PHP Bug Type: Apache2 related
Bug description: I get source of php files instead of supposed output on random basis
Description:
------------
Randomly the php-source is displayed instead of the output
(http://www.engstringen.ch/).
This was the case when having installed apache 1.3 und php 4.1.
After ugrading to apache 2 and php 4.3.4 the bug still occurs. But the
browser shows now a file download dialog box for downloading the php
-script instead of having executed it !!!
The header of the response contains the php - mime type configured
application/x-httpd-php.
The apache config contains
AddType application/x-httpd-php .php .php4 .php3 .phtml
AddType application/x-httpd-php-source .phps
Include conf/confixx_vhost.conf
The confixx_vhost.conf contains lots of virtual host configured on a named
vhost basis.
php is minimally configured with
'./configure' '--with-mysql' '--with-apxs'
--
Edit bug report at http://bugs.php.net/?id=26627&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26627&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26627&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=26627&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=26627&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=26627&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=26627&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=26627&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=26627&r=support
Expected behavior: http://bugs.php.net/fix.php?id=26627&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=26627&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=26627&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=26627&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26627&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=26627&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=26627&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=26627&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26627&r=float