[TYPO3] TYPO3 on Windows / IIS ?!?

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Wed Jun 7 09:37:31 CEST 2006


Karl-Ernst Kiel schrieb:
> Hi!
> 
> This is, what finally made the cli-script "crawler_cli.phpsh" work on 
> Windows 2003 Server/IIS 6/php5:
> 
> 1.) Change line 13 in "typo3conf/ext/crawler/cli/crawler_cli.phpsh":
> define('PATH_thisScript',$_ENV['_']?$_ENV['_']:$_SERVER['_']);
> into
> define('PATH_thisScript',$_SERVER['argv'][0]);
> 
> 2.) Add a backend user "_cli_crawler" (with random password and no other 
> options enabled).
> 
> 3.) Always call the script using the full path and (unix-style) slashes, 
> e.g.:
> 
> C:\php\php.exe C:/mywebspace/typo3conf/ext/crawler/cli/crawler_cli.phpsh

2 and 3 are easy to fullfil as they are a site specific setup (did it 
myself this way for direct mail on windows)

Point 1 should be made to be cross-platform. Other ideas have been:

define('PATH_thisScript',$_ENV['PWD']?$_ENV['PWD']:$_SERVER['PWD']);

and

define('PATH_thisScript', __FILE__);

The latter looks promising to me.

Masi



More information about the TYPO3-english mailing list