Bug #69254 [NEW]: .user.ini ignored in subfolders
From: framelio at gmail dot com
Operating system: Linux
PHP version: 5.6.6
Package: FPM related
Bug Type: Bug
Bug description:.user.ini ignored in subfolders
Description:
------------
I have a problem with all the recent versions of PHP: 5.3.29, 5.4.38,
5.5.22 and 5.6.6.
The .user.ini file is considered in the directory containing the PHP
file itself, but ignored in the subfolders.
Configuration on linux with Apache 2.4.12 and mod_proxy_fcgi and PHP-FPM
configuration:
<FilesMatch \.php$>
SetHandler
"proxy:unix:/path/to/.socks/php-domain.sock|fcgi://domainname/"
</FilesMatch>
The .user.ini directives apply only in the same folder as the php file
and not in the subfolders.
Some phpinfo:
Server API: FPM/FastCGI (fpm-fcgi and not cgi-fcgi)
_SERVER["DOCUMENT_ROOT"] is correctly set to the virtualhost
DocumentRoot
I didn't have the problem when working with mod_fastcgi using
FastCgiExternalServer directive. I suppose that, in that configuration
the API is cgi-fcgi?)
--
Edit bug report at https://bugs.php.net/bug.php?id=69254&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=69254&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=69254&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=69254&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=69254&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=69254&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=69254&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=69254&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=69254&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=69254&r=support
Expected behavior: https://bugs.php.net/fix.php?id=69254&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=69254&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=69254&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=69254&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=69254&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=69254&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=69254&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=69254&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=69254&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=69254&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=69254&r=mysqlcfg
Thread (4 messages)
- framelio at gmail dot com