Jason Wong wrote:

Possibly:

manual > Using PHP from the command line > -c switch

From the manual:
"The CLI SAPI does not change the current directory to the directory of the executed script!"


"Note: The CGI SAPI supports the CLI SAPI behaviour by means of the -C switch when run from the command line. "

In other words, it's possible to make the CGI version work like the CLI version (using absolute paths only). There seems to be no support for making CLI work like CGI, however.


/Mattias

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to