--TEST-- FPM: FastCGI env var path info fix for Apache ProxyPass SCRIPT_NAME stripping with invalid path --SKIPIF-- --FILE-- createSourceFileAndScriptName(); $tester->start(); $tester->expectLogStartNotices(); $tester ->request( uri: $scriptName . '/pinfox', scriptFilename: "proxy:fcgi://" . $tester->getAddr() . $sourceFilePath . '/pinfoy', scriptName: $scriptName . '/pinfox' // this would be a bug in Apache - just for testing ) ->expectBody([$scriptName . '/pinfox', 'none', $sourceFilePath, '/pinfoy', $scriptName . '/pinfox/pinfoy']); $tester->terminate(); $tester->close(); ?> Done --EXPECT-- Done --CLEAN--