php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #73313 over fpm does not respect in .user.ini engine off directive
Submitted: 2016-10-13 12:00 UTC Modified: -
Votes:4
Avg. Score:4.5 ± 0.5
Reproduced:4 of 4 (100.0%)
Same Version:3 (75.0%)
Same OS:3 (75.0%)
From: vladimir at helesic dot cz Assigned:
Status: Open Package: FPM related
PHP Version: Irrelevant OS: all
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: vladimir at helesic dot cz
New email:
PHP Version: OS:

 

 [2016-10-13 12:00 UTC] vladimir at helesic dot cz
Description:
------------
Over fpm isn't way to disable php over engine Off   as over mod_php(php_flag engine Off in .htaccess).   When you put engine=Off to .user.ini it's silently ignored.
I think thats mistake.  There is no way to effectively enable / disable php engine per directory as where you use mod_php over apache.
it's will be useful for all peoples.



Test script:
---------------
put to .user.ini    line engine=Off


Expected result:
----------------
where disable engine to Off in ini user file(per dir), it should not interpret php code.


Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Fri Dec 06 06:01:23 2019 UTC