php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #53744 php_admin_value engine off causes random misbehaviour
Submitted: 2011-01-14 07:49 UTC Modified: 2011-01-20 13:10 UTC
From: erkki dot aalto at helsinki dot fi Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 5.3 OS: RHEL 5 x86_64
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: erkki dot aalto at helsinki dot fi
New email:
PHP Version: OS:

 

 [2011-01-14 07:49 UTC] erkki dot aalto at helsinki dot fi
Description:
------------
(Upgrade is not an option, it is extremely tedious to use a version different from the one coming with the OS)

PHP-scripts are occasionally displayed instead of executed. This happens completely randomly and a reload fixes it. Googling shows other people have been suffering from this, but no solution can be found. Now we noticed, that removing
php_admin_value engine off  -directives from the server config removes the problem. The possibility to forbid absolutely execution of php_scripts in a directory is, however, useful and this kind of random behaviour is clearly a bug. 


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-01-14 07:52 UTC] rasmus@php.net
-Status: Open +Status: Feedback
 [2011-01-14 07:52 UTC] rasmus@php.net
1. Please specify the version you are seeing this in
2. If you can't upgrade, how will you get the bug fix?
 [2011-01-14 07:58 UTC] erkki dot aalto at helsinki dot fi
php-5.1.6-27.el5_5.3

In the best case RH would include the fix in the distribution.

Anyway, I want the next webmaster to encounter this bug to find at least one clue in his/her search.
 [2011-01-14 08:05 UTC] rasmus@php.net
-Status: Feedback +Status: Bogus
 [2011-01-14 08:05 UTC] rasmus@php.net
Chances are it has been fixed years ago.  I remember a few fixes along those 
lines.  You are running code that is 5 years old.  If you can reproduce this in a 
modern version, re-open the bug report.
 [2011-01-14 08:11 UTC] rasmus@php.net
By the way, RHEL 5.6 is out and includes PHP 5.3.  That's probably your easiest 
way to address this.

http://press.redhat.com/2011/01/13/red-hat-enterprise-linux-5-6-now-available/
 [2011-01-19 12:17 UTC] erkki dot aalto at helsinki dot fi
-PHP Version: Irrelevant +PHP Version: 5.3
 [2011-01-19 12:17 UTC] erkki dot aalto at helsinki dot fi
Tried upgrading to 5.3. The bug persists.
 [2011-01-20 13:10 UTC] erkki dot aalto at helsinki dot fi
Turning the engine explicitly on where php is needed in php.conf helps.

Anyway, there clearly is a bug and it should be fixed.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Aug 11 21:00:03 2025 UTC