Date: Mon, 17 Jul 2000 00:50:39 -0400 From: David Banning <David@www3.pacific-pages.com> To: Matthew West <mwest@uct.ac.za> Cc: questions@FreeBSD.ORG Subject: Re: simple php script won't show in netscape Message-ID: <3972909F.59BF9453@www3.pacific-pages.com> References: <397114AE.B903CC2F@www3.pacific-pages.com> <20000716222512.A300@apotheosis.org.za>
next in thread | previous in thread | raw e-mail | index | archive | help
> Do this: > > telnet localhost 80 > then type: "HEAD / HTTP/1.0" and hit Enter twice > > you should get something like this: > HTTP/1.1 200 OK > Date: Sun, 16 Jul 2000 20:23:49 GMT > Server: Apache/1.3.12 (FreeBSD) PHP/4.0RC1 > Connection: close > Content-Type: text/html > > The "Server:" bit will at least tell you what version of PHP you've got in > there. I didn't see it before, but the response from this command clearly shows that php is not active ; # telnet localhost 80 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. HEAD / HTTP/1.0 HTTP/1.1 200 OK Date: Mon, 17 Jul 2000 03:15:24 GMT Server: Apache/1.3.12 (Unix) Content-Location: index.html.en Vary: negotiate,accept-language,accept-charset TCN: choice Last-Modified: Sat, 20 Nov 1999 21:29:40 GMT ETag: "aeb9b-54e-383712c4;396fc5f4" Accept-Ranges: bytes Content-Length: 1358 Connection: close Content-Type: text/html Content-Language: en Expires: Mon, 17 Jul 2000 03:15:24 GMT Connection closed by foreign host. # To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3972909F.59BF9453>