php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68171 php_admin_value[extension] order not maintained
Submitted: 2014-10-07 00:43 UTC Modified: 2014-10-07 00:46 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: darryl dot miles at darrylmiles dot org Assigned:
Status: Open Package: FPM related
PHP Version: 5.3.6 OS: Linux
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: darryl dot miles at darrylmiles dot org
New email:
PHP Version: OS:

 

 [2014-10-07 00:43 UTC] darryl dot miles at darrylmiles dot org
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-10-07 00:46 UTC] darryl dot miles at darrylmiles dot org
-PHP Version: 5.4.33 +PHP Version: 5.3.6
 [2014-10-07 00:46 UTC] darryl dot miles at darrylmiles dot org
See ALSO 2 BUGS:


https://bugs.php.net/bug.php?id=68024 [HAS PATCH]

https://bugs.php.net/bug.php?id=60387
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 19:01:29 2024 UTC