From owner-freebsd-questions@FreeBSD.ORG Thu Mar 30 16:15:29 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9B9BA16A400 for ; Thu, 30 Mar 2006 16:15:29 +0000 (UTC) (envelope-from lordboink@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3AD043D53 for ; Thu, 30 Mar 2006 16:15:24 +0000 (GMT) (envelope-from lordboink@gmail.com) Received: by zproxy.gmail.com with SMTP id l8so479711nzf for ; Thu, 30 Mar 2006 08:15:23 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=HbLYQeUVGUd0YPzeSe7PqLVoQ/R5Vt05UB3/8Nn/teHxCDccWBr0zE+ec3ZxvLcd2tB/qf0R6RQr2pgwKrZm1R+KsPF99Yg99xWyg7EUNSgcGEQcuGr9PZiLndlgtVPPkxloSYWKK7MJsl2PApYF3L6ioVjW/t/nNVpCduxW9LM= Received: by 10.36.39.1 with SMTP id m1mr193584nzm; Thu, 30 Mar 2006 08:15:23 -0800 (PST) Received: by 10.36.104.5 with HTTP; Thu, 30 Mar 2006 08:15:23 -0800 (PST) Message-ID: <73cb07950603300815r3ce724cdm30b966b9d220bdda@mail.gmail.com> Date: Thu, 30 Mar 2006 18:15:23 +0200 From: "S W" To: "Kevin Kinsey" , freebsd-questions@freebsd.org In-Reply-To: <442C00C0.9000604@daleco.biz> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <73cb07950603290834w3fc921c8j1bddd8d01412b839@mail.gmail.com> <20060329114251.d650934f.wmoran@collaborativefusion.com> <73cb07950603300453p4ce74a51h405f51ec6cab2880@mail.gmail.com> <442C00C0.9000604@daleco.biz> Cc: Subject: Re: Does mod_php4 include php4? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Mar 2006 16:15:29 -0000 Agreed, mod comes with phpN: # pkg_info | grep php php4-4.4.2_1 PHP Scripting Language (Apache Module and CLI) # ...and: # httpd -t -D DUMP_MODULES Loaded Modules: core_module (static) ... 8< 8< 8< ... php4_module (shared) Syntax OK # Best, boink On 3/30/06, Kevin Kinsey wrote: > S W wrote: > > >Bill, > > > >Thank you for the prompt response. > > > >php4 now installed without mod_php4, configured httpd.conf - and > >everything seems to be working. > > > >Incidentally, acid no longer needs phplot, but is using jdgraph, instead= . > > > >Best wishes, > >boink > > > > > > Keep in mind that PHP comes in three formats: > > 1. The relatively familiar Apache module. > 2. A CGI interpreter/module/executable. > 3. A CLI interpreter/executable. > > IIRC, and you should read the docs, NOTES, README, > etc. /www/mod_phpN is only #1. lang/phpN is superior*, > in that it installs the Apache module and the CLI/CGI > depending on how it's configured**. > > HTH, > > Kevin Kinsey > > * IMHO, of course. > > ** I'm not sure I'm interpreting it correctly. I *always* use > lang/php and get module/CLI. I *think* I could get CGI > instead with a config knob ... but it's not necessary, since > my CGI scripts could call the CLI with the appropriate > switch anyway, and AFAIK there's not a great deal of > difference between CGI and CLI --- one notable is that > CGI auto-prepends the HTML header. > > -- > In /users3 did Kubla Kahn > A stately pleasure dome decree, > Where /bin, the sacred river ran > Through Test Suites measureless to Man > Down to a sunless C. > > >