RE: [PHP-DEV] php.exe - php-cgi.exe

From: Date: Mon, 09 Dec 2002 00:30:19 +0000
Subject: RE: [PHP-DEV] php.exe - php-cgi.exe
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-92227@lists.php.net to get a copy of this message
On Sun, 8 Dec 2002, John Coggeshall wrote: JC>>> JC>>> As much as I understand the point of view that renaming the CGI version JC>>> of PHP from php(.exe) to php-cgi(.exe) so that we don't have to type JC>>> 'php-cli' perhaps isn't such a good idea, I am completely against JC>>> changing it now. Changing it the first time is obviously causing JC>>> problems, changing it again will really muddle the waters... (Okay, if JC>>> you downloaded PHP between the months of XXX and XXXX, it's this... JC>>> Otherwise, it's that... Unless...) Ehm - the last __released__ version is php.exe vs. php-cli.exe. We shouldn't care about RC's/pre's and cvs builds. Live 'on the edge' - be prepared for a landing. JC>>> JC>>> Regards, JC>>> JC>>> John JC>>> JC>>> JC>>> >-----Original Message----- JC>>> >From: Melvyn Sopacua [mailto:msopacua@idg.nl] JC>>> >Sent: Sunday, December 08, 2002 6:28 PM JC>>> >To: marcus.boerger@post.rwth-aachen.de JC>>> >Cc: mike@mgrobinson.com; 'Christoph Grottolo'; php-dev@lists.php.net JC>>> >Subject: RE: [PHP-DEV] php.exe - php-cgi.exe JC>>> > JC>>> > JC>>> >On Sun, 8 Dec 2002, Marcus Börger wrote: JC>>> > JC>>> >MBr>>> Just because you only need to type the name of the CGI JC>>> >sapi once: JC>>> >MBr>>> In other word one single time until we decide the name changes. JC>>> >MBr>>> But you will use a command line interface hopefully JC>>> >very often. I JC>>> >MBr>>> for one do and i am not going to type php-cli.exe because it is JC>>> >MBr>>> way much to long. JC>>> > JC>>> >Sorry Marcus, but - even though I think these names are better JC>>> >- the same could be said for a cli: ln -s php-cli php or even: JC>>> >alias php /usr/local/bin/php-cli JC>>> > JC>>> >For windows - you could move php-cli.exe to JC>>> >C:\WINNT\system32\php.exe and it's preferred in the path (or JC>>> >set %PATH%). JC>>> > JC>>> >But - changing the name for the CGI, breaks server environments... JC>>> > JC>>> >I think on windows, the two executables, should be named the JC>>> >php.exe and the cgi stored in the standard php4 dir and the JC>>> >cli version in bin/. This way you have the best of both worlds JC>>> >- it won't break CGI - and a simple PATH adjustment takes care JC>>> >of the cli problem. JC>>> > JC>>> >For unices, we could provide a --with-cgi-name configure JC>>> >option and default to php, with --disable-cli. JC>>> > JC>>> >Just my 2c JC>>> >-- JC>>> >With kind regards, JC>>> > JC>>> >Melvyn Sopacua JC>>> ><?php include("not_reflecting_employers_views.txt"); ?> JC>>> > JC>>> > JC>>> >-- JC>>> >PHP Development Mailing List <http://www.php.net/2=˸ 穯 JC>>> >/"ê”X> JC>>> >To unsubscribe, visit: JC>>> >http://www.php.net/unsub.php JC>>> > JC>>> > JC>>> JC>>> JC>>> -- JC>>> PHP Development Mailing List JC>>> <http://www.php.net/> JC>>> To unsubscribe, visit: http://www.php.net/unsub.php JC>>> JC>>> -- With kind regards, Melvyn Sopacua <?php include("not_reflecting_employers_views.txt"); ?>

« previous php.dev (#92227) next »