php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #61074 Missing documentation for the "include" directive
Submitted: 2012-02-13 18:56 UTC Modified: 2017-01-15 07:26 UTC
From: lekensteyn at gmail dot com Assigned:
Status: Wont fix Package: FPM related
PHP Version: Irrelevant OS: All
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: lekensteyn at gmail dot com
New email:
PHP Version: OS:

 

 [2012-02-13 18:56 UTC] lekensteyn at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/install.fpm.configuration
---
It was unclear for me where to lookup information for the "include" directive. I could not find it in the global php.ini directives nor the FPM configuration docs. From the example php-fpm.conf file, I could guess that it's a glob pattern although I could not be sure of that.

Digging in the source code showed that the include path is treated in a special way, absolute paths are taken as is, non-absolute paths (without leading /) are processed with a prefix (which one?).


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-12-01 14:04 UTC] cmb@php.net
-Package: Documentation problem +Package: FPM related
 [2017-01-15 07:26 UTC] krakjoe@php.net
-Status: Open +Status: Wont fix
 [2017-01-15 07:26 UTC] krakjoe@php.net
> FPM uses php.ini syntax for its configuration file - php-fpm.conf, and pool configuration files. 

The include functionality is implicit in this statement, I don't think it needs to be more explicit than that.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 15:01:29 2024 UTC