--TEST-- FPM: FastCGI env var path info fix for Apache balancer real configuration --SKIPIF-- --FILE-- createSourceFileAndScriptName(); $pathTranslatedPart = __DIR__ . $sourceFilePath . '/pinfo'; $tester->start(); $tester->expectLogStartNotices(); $tester ->request( headers: [ 'PATH_INFO' => $sourceFilePath . '/pinfo', 'PATH_TRANSLATED' => 'proxy:balancer://myappcluster' . $pathTranslatedPart . $pathTranslatedPart, ], uri: $scriptName . '/pinfo', scriptFilename: $sourceFilePath . '/pinfo', scriptName: '', ) ->expectBody([$sourceFilePath, $sourceFilePath, '/pinfo', $sourceFilePath . '/pinfo']); $tester->terminate(); $tester->close(); ?> Done --EXPECT-- Done --CLEAN--