#26627 [NEW]: I get source of php files instead of supposed output on random basis

2003-12-15 Thread info at gli dot ch
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=26627edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=26627r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=26627r=trysnapshot5
Fixed in CVS:   http://bugs.php.net/fix.php?id=26627r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=26627r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=26627r=needtrace
Need Reproduce Script:  http://bugs.php.net/fix.php?id=26627r=needscript
Try newer version:  http://bugs.php.net/fix.php?id=26627r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=26627r=support
Expected behavior:  http://bugs.php.net/fix.php?id=26627r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=26627r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=26627r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=26627r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26627r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=26627r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=26627r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=26627r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26627r=float


#26627 [Bgs]: I get source of php files instead of supposed output on random basis

2003-12-15 Thread info at gli dot ch
 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] [EMAIL PROTECTED]

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=26627edit=1