Do you have a question? Post it now! No Registration Necessary. Now with pictures!
October 26, 2004, 10:10 pm
rate this thread
states that "The CGI SAPI supports the CLI SAPI behaviour by means of
the -C switch when run from the command line.":
However, "php -h" says of the -C switch, "Do not chdir to the script's
Further, running php -Cr "echo 'test';" results in an error saying
the -r switch doesn't exist, even though it should if it were acting
like the CLI version.
This, coupled with the fact that the Windows installer doesn't seem to
install a seperate CLI exe means that, unless I'm missing something,
CLI isn't something that can be used on Windows, contrary to what the
Am I missing something?