#26627 [Bgs]: I get source of php files instead of supposed output on random basis
| From: | info at gli dot ch | Date: | Mon, 15 Dec 2003 13:34:11 +0000 |
| Subject: | #26627 [Bgs]: I get source of php files instead of supposed output on random basis | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-52085@lists.php.net to get a copy of this message | ||
ID: 26627
User updated by: info at gli dot ch
Reported By: info at gli dot ch
Status: Bogus
Bug Type: Apache2 related
Operating System: Linux 2.4.20
PHP Version: 4.3.4
New Comment:
Well, I just want to be clear that that that php module doesn't decline
the request for any reason. This could lead to this result.
The Error_log doesnt' give any information about this.
Previous Comments:
------------------------------------------------------------------------
[2003-12-15 07:23:36] alan_k@php.net
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
please read the support page and post a question to pear-general first.
------------------------------------------------------------------------
[2003-12-15 04:42:17] info at gli dot ch
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 this bug report at http://bugs.php.net/?id=26627&edit=1