|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #63905 Default value for security.limit_extensions includes .phar too
Submitted: 2013-01-04 16:25 UTC Modified: 2017-01-15 07:24 UTC
From: lekensteyn at gmail dot com Assigned: krakjoe (profile)
Status: Closed Package: FPM related
PHP Version: master-Git-2013-01-04 (Git) OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
16 - 5 = ?
Subscribe to this entry?

 [2013-01-04 16:25 UTC] lekensteyn at gmail dot com
Since PHP 5.3.9 and 5.4.0 RC2 [1], the default security.limit_extensions list is ".php .phar" instead of the documented ".php". ".phar" must be added to the example sapi/fpm/ file.



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-01-15 07:24 UTC]
Automatic comment from SVN on behalf of krakjoe
Log: Fix bug #63905 incorrect default value for limit extensions directive
 [2017-01-15 07:24 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: krakjoe
 [2017-01-15 07:24 UTC]
The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at

 For Windows:
Thank you for the report, and for helping us make PHP better.

Limit extensions is not present in, but the manual has been updated.
 [2020-02-07 06:06 UTC]
Automatic comment on behalf of krakjoe
Log: Fix bug #63905 incorrect default value for limit extensions directive
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Tue Sep 29 07:01:23 2020 UTC