Page 1 of 1

CLI and CGI running on the same server

Posted: Wed Feb 16, 2005 12:50 pm
by siefkencp
I want to run CLI on my already set up cgi server with out having to rebuild php and do potential damage to my configuration.


According to the manual:
Note: The CGI SAPI supports this CLI SAPI behaviour by means of the -C switch when run from the command line.
Which is here: http://www.php.net/manual/en/features.commandline.php

If any one can help me find a way to either install another copy of PHP to run my command line stuff or use my CGI enabled version to run it please send me to the right URL or get me moving.

Thanks for your help,
Chris

Posted: Wed Feb 16, 2005 12:54 pm
by feyd
Moved to Web Servers.. :roll:

Posted: Wed Feb 16, 2005 1:50 pm
by siefkencp
Feyd, This is not a webserver question as much of a php/linux question. First there is the issue of the php installation but CLI is something that every PHP coder should know. It may be the most usefull reality of the language.

Chris

Posted: Wed Feb 16, 2005 1:53 pm
by feyd
your post pertains to server configuration. That's this forum, usually.