Bug #75793 [NEW]: BC between 7.1.11 and 7.1.13 on router file location.

From: Date: Wed, 10 Jan 2018 14:04:55 +0000
Subject: Bug #75793 [NEW]: BC between 7.1.11 and 7.1.13 on router file location.
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-213456@lists.php.net to get a copy of this message
From: hello at bweston dot me Operating system: Linux PHP version: 7.1.13 Package: *Web Server problem Bug Type: Bug Bug description:BC between 7.1.11 and 7.1.13 on router file location. Description: ------------ https://github.com/bweston92/php-7.1-bc-example Test script: --------------- The following is <= PHP 7.1.11 ``` [bweston@dell serve-test]$ ./test_7_1_11.sh docker run --rm php@sha256:a92534bf85d3cfe46ed403034e0f0062c9b0867fdf075ca2e34b4bf817902ad0 php --version; PHP 7.1.11 (cli) (built: Nov 4 2017 10:34:59) ( NTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies docker run -d -p 8060:8000 -v $(pwd):/app --workdir /app php@sha256:a92534bf85d3cfe46ed403034e0f0062c9b0867fdf075ca2e34b4bf817902ad0 php -S 0.0.0.0:8000 -t /app/public server.php fd7c3642c6551094f31e57812d8c36d80e5e816860ba994a5c55dfcc7ca5f63e curl http://localhost:8060 | head % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> 7<html xmlns="http://www.w3.org/1999/xhtml"><head> 7<style type="text/css"> 1body {background-color: #fff; color: #222; font-family: sans-serif;} 8pre {margin: 0; font-family: monospace;} 3 a:link {color: #009; text-decoration: none; background-color: #fff;} a:hover {text-decoration: underline;} table {border-collapse: collapse; border: 0; width: 934px; box-shadow: 1px 2px 3px #ccc;} .center {text-align: center;} 0.center table {margin: 1em auto; text-align: left;} 77183 0 0 77183 0 --:--:-- --:--:-- --:--:-- 6281k (23) Failed writing body ``` The following is >= PHP 7.1.13 ``` [bweston@dell serve-test]$ ./test_7_1_13.sh docker run --rm php@sha256:6598b3254f4809005ae03e8a69fe71e667d5615c69a626afb06a176d24044c71 php --version; PHP 7.1.13 (cli) (built: Jan 10 2018 03:04:36) ( NTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies docker run -d -p 8070:8000 -v $(pwd):/app --workdir /app php@sha256:6598b3254f4809005ae03e8a69fe71e667d5615c69a626afb06a176d24044c71 php -S 0.0.0.0:8000 -t /app/public server.php f047fb74fea077d8b7f54b1c5d084d92f99ae4131d67829d0add42721c893f6d curl http://localhost:8070 | head % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 288 0 288 0 0 288 0 --:--:-- --:--:-- --:--:-- 36000 <br /> <b>Warning</b>: Unknown: failed to open stream: No such file or directory in <b>Unknown</b> on line <b>0</b><br /> <br /> <b>Fatal error</b>: Unknown: Failed opening required '/app/public/server.php' (include_path='.:/usr/local/lib/php') in <b>Unknown</b> on line <b>0</b><br /> ``` -- Edit bug report at https://bugs.php.net/bug.php?id=75793&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=75793&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=75793&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=75793&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=75793&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=75793&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=75793&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=75793&r=needscript Try newer version: https://bugs.php.net/fix.php?id=75793&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=75793&r=support Expected behavior: https://bugs.php.net/fix.php?id=75793&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=75793&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=75793&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=75793&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75793&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=75793&r=dst IIS Stability: https://bugs.php.net/fix.php?id=75793&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=75793&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=75793&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=75793&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=75793&r=mysqlcfg

« previous php.bugs (#213456) next »