RE: [PHP-DEV] php.exe - php-cgi.exe
| From: | (Marcus Börger) | Date: | Sun, 08 Dec 2002 17:49:48 +0000 |
| Subject: | RE: [PHP-DEV] php.exe - php-cgi.exe | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-92211@lists.php.net to get a copy of this message | ||
At 17:55 08.12.2002, Philip Olson wrote:
Wait, so there used to be a php-cli.exe ? Add that to the history request question :) And so a user tries to install via some install tutorial on foo.com, what problems/errors will they see when accessing via the browser? PhilipThere was no spoon :-) ok start again: There was no cli and only cgi binary called php.exe. Then we decided to have a command line executable (abbrevation CLI). And the we decided to use 'php.exe' for the new CLI and to avoid confusion we chose to rename the CGI binary from 'php.exe'. So now there will be some books and other papers and online docs out there which state that php.exe has to be installed....In other words there will be users who install CLI as CGI what will lead into errors. marcuis
On Sun, 8 Dec 2002, John Coggeshall wrote: I believe the issue here is that PHP won't display the proper HTTP headers in the CLI version: C:\> Php.exe test.php X-Powered-By: PHP/4.2.2 Content-type: text/html Testing 1 2 3 C:\> C:\> Php-cli.exe test.php Testing 1 2 3 C:\>-----Original Message----- From: Philip Olson [mailto:philip@cornado.com] Sent: Sunday, December 08, 2002 11:07 AM To: Alexander Wagner Cc: john@coggeshall.org; marcus.boerger@post.rwth-aachen.de; 'Christoph Grottolo'; php-dev@lists.php.net Subject: Re: [PHP-DEV] php.exe - php-cgi.exe Can someone provide a history of this and the problems one will see when trying to run php.exe as a cgi (i.e. follows one of the many install texts out there). This is _sorta_ documented but not really, only the apache2 docs make any mention of it thus far. Regards, Philip On Sun, 8 Dec 2002, Alexander Wagner wrote:is beingOn Sunday 08 December 2002 01:02, John Coggeshall wrote:I think a big ole' message at the end of ./configure will drastically reduce the number of problems.With php.exe? *g*Also, perhaps a check could be put in the CLI version of PHP that would throw an error message if itused as a CGI...A _meaningful_ error-message in the right place would be the right thing (tm). Too many people don't read release-notes. regards Wagner -- codito ergo sum -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php