> $PHP_SELF is set, but empty! > $SCRIPT_NAME works just the same. Give that a try. > a pain to change code. Don't change the code. Make a BAT file called PHP-fix.BAT @echo off set $PHP_SELF=$SCRIPT_NAME c:\php\bin\php.exe %1 %2 %3 %4 %5 (I may have screwed-up the syntax, but you'll figure it out.) Tell Xitami to send PHP file to PHP-fix.BAT -PRR