CLI and CGI running on the same server

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
siefkencp
Forum Commoner
Posts: 69
Joined: Thu Dec 16, 2004 8:50 am

CLI and CGI running on the same server

Post 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
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Moved to Web Servers.. :roll:
siefkencp
Forum Commoner
Posts: 69
Joined: Thu Dec 16, 2004 8:50 am

Post 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
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

your post pertains to server configuration. That's this forum, usually.
Post Reply