From owner-freebsd-questions Sun Apr 23 17:33:33 2000 Delivered-To: freebsd-questions@freebsd.org Received: from icebox.venux.net (icebox.venux.net [216.120.166.10]) by hub.freebsd.org (Postfix) with ESMTP id B4C4237B82F for ; Sun, 23 Apr 2000 17:33:24 -0700 (PDT) (envelope-from mitch@venux.net) Received: from doot2 (usr3-ip056-grr.wmis.net [209.176.193.106]) by icebox.venux.net (Postfix) with SMTP id 314F126202; Sun, 23 Apr 2000 20:38:12 -0400 (EDT) Message-ID: <001a01bfad85$4d80b740$0300000a@doot.org> From: "Mitch Vincent" To: "Marc Wandschneider" , References: <000701bfad79$7a9caec0$0300000a@katana> Subject: Re: Am I just being dumb (apache/php) Date: Sun, 23 Apr 2000 20:37:42 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Try in a file named .php3 See what that gets you. After that, check out www.php.net and read up :-) ----- Original Message ----- From: Marc Wandschneider To: Sent: Sunday, April 23, 2000 7:13 PM Subject: Am I just being dumb (apache/php) > > > whasssuuuppp? > > so, I have apache 1.3.9 running on my FreeBSD 3.3 server. I also compiled > in PHP 3.0.12 support, and added in mysql support as well. > > next, I added the following to httpd.conf > > AddType application/x-httpd-php3 .php3 > AddType application/x-httpd-php3-source .phps > > and did the demanded copy of php3.ini-dist to /usr/local/lib/php3.ini. > stopped & started apache, and it prints out the following: > > [Sun Apr 23 15:10:28 2000] [notice] Apache/1.3.9 (Unix) PHP/3.0.12 > configured -- resuming normal operations > > Now, the problem is, I can't get any script to actually DO anything. I'm > assuming that this stuff is basically just server side script that can be > embedded in HTML, and the server executes right before downloading the HTML. > that being the case, I can't get any code to run at all, like or any of the other tags > suggested ... > > Am I just way off on my understanding of what I'm supposed to be doing > here?? > > Any suggestions would be appreciated. > > Thanks. > > marc. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message