B.9 Apache 2 Correctly Sets PATH_TRANSLATED

According to the CGI specification, PATH_TRANSLATED should be set only when PATH_INFO has a value.

The PHP Apache 1.x module always sets PATH_TRANSLATED, regardless of PATH_INFO. The Apache 2.x module correctly obeys the specification.

To get the actual path to the script, use SCRIPT_FILENAME instead.