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

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



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