Re: new win32 snapshot: changing .exe names
| From: | Shane Caraveo | Date: | Thu, 08 Jan 2004 19:06:29 +0000 |
| Subject: | Re: new win32 snapshot: changing .exe names | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-6875@lists.php.net to get a copy of this message | ||
While I dont care if the name changes for php5, I dont buy the premise that more and more people will be using php outside the web. I think cli has it's uses, but I think it will be a marginal group of people who make large use of it.
Shane
Wez Furlong wrote:
If you need to configure php5 separately from php4, you're going to be editing your server config anyway, so (IMO at least) this is not an issue. The CLI version should remain php.exe (this has been discussed before). Consider the CGI name change a progressive one that will help avoid confusion with CLI and CGI (which were *both* named php.exe). Now that PHP is expanding outside of the role of a webserver only language, more and more people will be using the CLI version of PHP especially now that win32 PHP is much more attractive for admin tasks (COM!) than it has been in previous releases. The old style dir structure meant that you had to rename the CGI and then move the CLI out of a sub-directory in order to be able to use both CLI and CGI on the same box; clearly this is much more hassle to do for every snap than to change your server config only once :-) --Wez.Both the CGI and CLI exe's are now in the base directory. CLI is called "php.exe" and the CGI is called "php-cgi.exe." Please consider reversing the names. Making the CLI "php-cli.exe" and the CGI "php.exe" will make installation less of a hastle. Users and their computers expect the php.exe to be the CGI and are using it to serve web pages. While having each user individually change their files isn't insurmountable, it's an unnecessary step for many thousandsofpeople. And for some people, it's a step they'd need to repeat over and over as they unzip new snapshots. By the way, thanks for renaming the dll. I'm looking forward to running4and 5 concurrently as CGI's on my windows development system.