Re: Re: 4.2.0 & CLI

From: Date: Thu, 28 Feb 2002 10:39:33 +0000
Subject: Re: Re: 4.2.0 & CLI
References: 1 2 3  Groups: php.qa 
Request: Send a blank email to php-qa+get-4404@lists.php.net to get a copy of this message
> >> 1. If you compile CGI binary and then issue 'make install' it will be > >> installed in $PREFIX/bin, then CLI will be put in the same place overwriting > >> it. Any suggestions on what to do in this situation? > > > >imho, the cgi binary should get called php.cgi. > > I dunno... > > There's an awful lot of (cron) scripts I've written that count on it > being /usr/bin/php, and Perl is just "perl" not "perl.cgi" > > OTOH -- I'm completely ignorant of what the CLI thingie is... > > I want /usr/bin/php (or wherever it goes) to be the exact same as my > PHP Module, only for my innumerable cron jobs to keep on chooglin' > > You're gonna break a lot of stuff if you change that... CLI is basically CGI without the CGI specific stuff and defaults that make more sense for shell scripting. The idea is to replace CGI in /usr/bin/php with the CLI binary. The question was what to do with the binary that is really used for running PHP on a webserver using CGI interface. Most people seem to want it renamed to php-cgi. I'm working on that one (have to fix make test first). Edin

« previous php.qa (#4404) next »