Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Mar 2006 10:01:04 -0600
From:      Kevin Kinsey <kdk@daleco.biz>
To:        S W <lordboink@gmail.com>
Cc:        freebsd-questions@freebsd.org, Bill Moran <wmoran@collaborativefusion.com>
Subject:   Re: Does mod_php4 include php4?
Message-ID:  <442C00C0.9000604@daleco.biz>
In-Reply-To: <73cb07950603300453p4ce74a51h405f51ec6cab2880@mail.gmail.com>
References:  <73cb07950603290834w3fc921c8j1bddd8d01412b839@mail.gmail.com>	<20060329114251.d650934f.wmoran@collaborativefusion.com> <73cb07950603300453p4ce74a51h405f51ec6cab2880@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?442C00C0.9000604>