php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26627 I get source of php files instead of supposed output on random basis
Submitted: 2003-12-15 04:42 UTC Modified: 2003-12-15 08:34 UTC
From: info at gli dot ch Assigned:
Status: Not a bug Package: Apache2 related
PHP Version: 4.3.4 OS: Linux 2.4.20
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: info at gli dot ch
New email:
PHP Version: OS:

 

 [2003-12-15 04:42 UTC] 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'


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-12-15 07:23 UTC] 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 08:34 UTC] info at gli dot ch
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 05:01:27 2024 UTC