[TYPO3-core] RFC: Bug #5548: cli_dispatch.phpsh will not run on CGI API
Steffen Gebert
steffen at steffen-gebert.de
Fri Jan 30 16:26:02 CET 2009
Steffen Gebert wrote:
> BT: http://bugs.typo3.org/view.php?id=5548
>
> Branch: trunk, 4_2
>
> Description:
> As already stated in a longer discussion [1], cli_dispatch.phpsh doesn't
> work in CGI environments as PHP_SAPI is 'cgi', not 'cli'. This blocks CGI
> users and forces them to patch TYPO3 core code, if they want to use
> cli_dispatch.phpsh
>
> Solution:
> Don't exit if PHP_SAPI != 'cgi', but also weather it starts with 'cgi'
> (this will accept 'cgi-fcgi', too (see [2], also mentioned by Michiel)).
> I've overworked Masi's patch to accept cgi* as SAPI and to conform to CGL.
Reminder
Thanks
Steffen
More information about the TYPO3-team-core
mailing list