--TEST-- Apache style CGI --DESCRIPTION-- Apache likes to set SCRIPT_FILENAME to the php executable if you use ScriptAlias configurations, and the proper path is in PATH_TRANSLATED. SCRIPT_NAME in this is faked, but that is ok, Apache sets SCRIPT_NAME to the ScriptAlias of the executable. --ENV-- return <<conf['TEST_PHP_EXECUTABLE'] END; --FILE-- --EXPECT-- HELLO