#26180 [Opn->Bgs]: server randomly sends source code of php page to browser

From: Date: Sat, 08 Nov 2003 22:05:49 +0000
Subject: #26180 [Opn->Bgs]: server randomly sends source code of php page to browser
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-50166@lists.php.net to get a copy of this message
ID: 26180 Updated by: iliaa@php.net Reported By: svec at nostromo dot cz -Status: Open +Status: Bogus Bug Type: Apache2 related Operating System: redhat linux 7.3 w 2.4.9 kernel PHP Version: 4.3.4 New Comment: Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Thank you for your interest in PHP. In that case this is a duplicate of bug #25753 Previous Comments: ------------------------------------------------------------------------ [2003-11-08 15:35:29] svec at nostromo dot cz yes, one of ( about 30 ) virtual hosts on our server have this directive in Directory section, this is copy of this section: <Directory /var/www/u/www.graphicdesigner.cz> Options FollowSymLinks AllowOverride None php_flag engine off </Directory> ------------------------------------------------------------------------ [2003-11-08 12:51:43] iliaa@php.net Do you have a virtual host entry with engine_off ini value being set to true? ------------------------------------------------------------------------ [2003-11-08 12:44:09] svec at nostromo dot cz 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 this bug report at http://bugs.php.net/?id=26180&edit=1

« previous php.bugs (#50166) next »