From owner-freebsd-questions Sun Jul 16 13:26: 1 2000 Delivered-To: freebsd-questions@freebsd.org Received: from apotheosis.org.za (apotheosis.org.za [137.158.128.27]) by hub.freebsd.org (Postfix) with ESMTP id C5F3337B6FB for ; Sun, 16 Jul 2000 13:25:42 -0700 (PDT) (envelope-from mwest@uct.ac.za) Date: Sun, 16 Jul 2000 22:25:12 +0200 From: Matthew West To: David@SkytrackerCanada.com Cc: questions@FreeBSD.ORG Subject: Re: simple php script won't show in netscape Message-ID: <20000716222512.A300@apotheosis.org.za> Mail-Followup-To: David@SkytrackerCanada.com, questions@FreeBSD.ORG References: <397114AE.B903CC2F@www3.pacific-pages.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <397114AE.B903CC2F@www3.pacific-pages.com>; from "David Banning" on Sat, Jul 15, 2000 at 09:49:34PM Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Jul 15, 2000 at 09:49:34PM -0400, David Banning wrote: > only executes a blank screen in netscape. If you go View|Page Source (or hit alt-U), what do you see there? > 'AddType application/x-httpd-php4 .php' is in httpd.conf that's for php_4_ though > I'm Using FreeBSD 4.0 Stable, and php3 are you sure it's php3? > Any idea why it's not showing up in my browser? 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. -- mwest@uct.ac.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message