[ale] PHP vs mod_php......
Chris Ricker
kaboom at gatech.edu
Thu Jan 3 18:39:03 EST 2002
On Thu, 3 Jan 2002, Charles Marcus wrote:
> Hi all,
>
> OK, I'm about to dive into a few things, and had some questions...
>
> I have a Redhat 7.2 install right now. It has Apache 1.3.22, PHP 4.06,
> mod_perl, mod_ssl, and a bunch of other stuff installed already.
>
> I need to have Apache with mod_php installed, but cannot find a Redhat RPM
> for mod-php 4.06 anywhere.
You already have it. The Red Hat php rpm includes the PHP Apache module.
> Questions:
>
> a) What is the difference between plain PHP, and mod_php?
you can do php via Apache module (mod_php) or via cgi (plain PHP) or via
command-line (plain PHP)
> b) Are there any advantages to using mod_php over plain PHP?
faster, more secure
> c) I currently have a web app (frontend to a PostgreSQL database) that will
> only run with Apache+mod_php (according to the developer, who was unable or
> unwilling to explain to me *why* it had to be mod_php). Is there a specific
> reason why this might be true? Or might it be fairly simple to change our
> app so that it runs using standard PHP?
see b
> d) Does anyone know where I can find an RPM for mod_php 4.06 for Redhat 7.2
> (or can I just get a src RPM for Mandrake and rebuild for Redhat from it)?
php-4.0.6-7 from RH 7.2 is fine
> e) Would I be better off updating to PHP 4.1.1? Is there a mod_php for
> 4.1.1?
if you need the new features
later,
chris
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.
More information about the Ale
mailing list