Launchpad has imported 3 comments from the remote bug at https://bugzilla.redhat.com/show_bug.cgi?id=1248077.
If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. ------------------------------------------------------------------------ On 2015-07-29T14:34:45+00:00 Ward wrote: Description of problem: When using Apache + PHP_FPM, the SCRIPT_NAME variable is incorrectly set. For example, accessing "http://127.0.0.1/sample/test.php/a/b/c", results in: ORIG_SCRIPT_NAME: SCRIPT_NAME: /sample/test.php/a/b/c ORIG_SCRIPT_FILENAME: //tmp/sample/test.php/a/b/c SCRIPT_FILENAME: //tmp/sample/test.php PATH_INFO: /a/b/c ORIG_PATH_INFO: While when using mod_php, the values are: SCRIPT_NAME: /sample/test.php SCRIPT_FILENAME: /tmp/sample/test.php PATH_INFO: /a/b/c This is a PHP bug and is fixed in PHP 5.5.18: https://bugs.php.net/bug.php?id=65641 Please backport the fix. The popular package owncloud cannot be used with apache + php-fpm because of this issue: https://github.com/owncloud/core/issues/7719 Version-Release number of selected component (if applicable): < PHP 5.5.18 How reproducible: 100% Steps to Reproduce: 1. See example above: access "http://127.0.0.1/sample/test.php/a/b/c" with apache 2.4 and php-fpm. Actual results: ORIG_SCRIPT_NAME: SCRIPT_NAME: /sample/test.php/a/b/c ORIG_SCRIPT_FILENAME: //tmp/sample/test.php/a/b/c SCRIPT_FILENAME: //tmp/sample/test.php PATH_INFO: /a/b/c ORIG_PATH_INFO: Expected results: SCRIPT_NAME: /sample/test.php SCRIPT_FILENAME: /tmp/sample/test.php PATH_INFO: /a/b/c Reply at: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1511414/comments/0 ------------------------------------------------------------------------ On 2016-03-08T07:35:11+00:00 Remi wrote: Upstream commits https://github.com/php/php-src/commit/ee275e34c8b303945945c650d4bc90dcc2ac0b17 https://github.com/php/php-src/commit/8cac75969e5abb2b6be5bbd489d851a4f9e50979 The second is for ProxyPass. Reply at: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1511414/comments/5 ------------------------------------------------------------------------ On 2016-06-29T07:41:21+00:00 Remi wrote: This look like a duplicate of bug #1138563 Reply at: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1511414/comments/6 ** Changed in: php5 (CentOS) Status: Unknown => Confirmed ** Changed in: php5 (CentOS) Importance: Unknown => Medium ** Bug watch added: github.com/owncloud/core/issues #7719 https://github.com/owncloud/core/issues/7719 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1511414 Title: PHP-FPM incorrectly defines the SCRIPT_NAME variable when using Apache To manage notifications about this bug go to: https://bugs.launchpad.net/php/+bug/1511414/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
