[TYPO3-core] RFC: CLI dispatcher doesn't work with CGI API

Andreas Otto andreas.otto at dkd.de
Mon Jul 16 19:16:33 CEST 2007

Hi Masi,

Martin Kutschker wrote:

> Ah! Too bad it's no good for Windows. So shall we change "#! /usr/bin/php"
> to "#! /usr/bin/env php" which moves the dependency to env.

I guess it was last year same list when I posted a recommendation which
would be free of any hassles for a TYPO3 admin.

Anyway calling the CLI dispatcher is possible without modifying the script

dkd-otto:~>cd /srv/typo3-scm.gimli.local/htdocs/typo3/; /usr/bin/php
cli_dispatch.phpsh crawler_im 1 -d=3 -proc=tx_indexedsearch_reindex -o=exec

The above example overwrites the #! command.

Plus, this works on win32 as well.


More information about the TYPO3-team-core mailing list