Bug #68171 [NEW]: php_admin_value[extension] order not maintained
| From: | darryl dot miles at darrylmiles dot org | Date: | Tue, 07 Oct 2014 00:43:09 +0000 |
| Subject: | Bug #68171 [NEW]: php_admin_value[extension] order not maintained | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-187903@lists.php.net to get a copy of this message | ||
From: darryl dot miles at darrylmiles dot org
Operating system: Linux
PHP version: 5.4.33
Package: FPM related
Bug Type: Bug
Bug description:php_admin_value[extension] order not maintained
Description:
------------
PHP 5.3.6 was used here.
php_admin_value[extension] = pdo.so
php_admin_value[extension] = pdo_mysql.so
This throws an error like:
<b>Warning</b>: Cannot load module 'pdo_mysql' because required module
'pdo' is not loaded in <b>Unknown</b> on line <b>0</b><br />
You would expect the order of the entire configure to be preserved for
directive thing like this.
Now if I reverse the order like:
php_admin_value[extension] = pdo_mysql.so
php_admin_value[extension] = pdo.so
This works without error. As if the directive execution order got
reversed.
Test script:
---------------
php_admin_value[extension] = pdo.so
php_admin_value[extension] = pdo_mysql.so
Reload PHP-FPM, now examine FPM log file.
Expected result:
----------------
See https://bugs.php.net/bug.php?id=68024
https://bugs.php.net/patch-display.php?bug_id=68024&patch=master-fpm-append-settings.patch&revision=latest
Actual result:
--------------
See https://bugs.php.net/bug.php?id=68024
https://bugs.php.net/patch-display.php?bug_id=68024&patch=master-fpm-append-settings.patch&revision=latest
--
Edit bug report at https://bugs.php.net/bug.php?id=68171&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=68171&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=68171&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=68171&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=68171&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=68171&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=68171&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=68171&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=68171&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=68171&r=support
Expected behavior: https://bugs.php.net/fix.php?id=68171&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=68171&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=68171&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=68171&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=68171&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=68171&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=68171&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=68171&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=68171&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=68171&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=68171&r=mysqlcfg