Re: Re: "Internal Server Error" with CGI version of PHP
| From: | Udo Giacomozzi | Date: | Tue, 07 May 2002 15:24:14 +0000 |
| Subject: | Re: Re: "Internal Server Error" with CGI version of PHP | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-6903@lists.php.net to get a copy of this message | ||
rasmus@lerdorf.ca (Rasmus Lerdorf) wrote in
news:Pine.LNX.4.44.0205070723000.31375-100000@christine.ca:
> Well, it is really the web server that doesn't support this. It has
> nothing to do with PHP.
>
I would say yes, because the PHP executable gets invoked! btw, the web
server is apache......
The server calls d:\php\sapi\php.exe with the following environment
variables:
COMSPEC=E:\WINNT\system32\cmd.exe
DOCUMENT_ROOT=i:/programme/apache group/apache/htdocs
HTTP_ACCEPT=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-powerpoint, application/vnd.ms-excel,
application/msword, */*
HTTP_ACCEPT_ENCODING=gzip, deflate
HTTP_ACCEPT_LANGUAGE=de,en;q=0.7,it;q=0.3
HTTP_CONNECTION=Keep-Alive
HTTP_HOST=localhost:10080
HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; T312461;
NET CLR 1.0.3705)
PATH=<snip>
REDIRECT_STATUS=200
REDIRECT_URL=/test/test.php-test/abc
REMOTE_ADDR=127.0.0.1
REMOTE_PORT=2513
SCRIPT_FILENAME=d:/php/sapi/php.exe
SERVER_ADDR=127.0.0.1
SERVER_ADMIN=you@your.address
SERVER_NAME=localhost
SERVER_PORT=10080
SERVER_SIGNATURE=<ADDRESS>Apache/1.3.12 Server at localhost Port
10080</ADDRESS>
SERVER_SOFTWARE=Apache/1.3.12 (Win32) PHP/4.2.0
SystemRoot=E:\WINNT
WINDIR=E:\WINNT
GATEWAY_INTERFACE=CGI/1.1
SERVER_PROTOCOL=HTTP/1.1
REQUEST_METHOD=GET
QUERY_STRING=
REQUEST_URI=/test/test.php-test/abc
SCRIPT_NAME=/php/php.exe
PATH_INFO=/test/test.php-test/abc
PATH_TRANSLATED=i:\programme\apache group\apache\htdocs\test\test.php-
test\abc
--
Udo Giacomozzi - udonews@nova-sys.net
www.nova-sys.net - www.guweb.com
The disadvantage of intelligence is that one
is constantly obliged to go on learning.
Posted by ELKNews 1.0.4-B
Empower your News Reader! http://www.atozedsoftware.com