Date: Fri, 2 May 2003 15:11:10 +0200 (MEST)
From: Achim Dreyer (firstname.lastname@example.org)
To: ILUG email@example.com
Subject: Re: [ILUG] Apache2 + php + Debian woody
On Fri, 2 May 2003, Rick Moen wrote:
> Quoting Aidan Delaney (firstname.lastname@example.org):
>> I've installed Apache2 (I need its WebDAV) but I also need php.
>> I can't find a deb for php on Apache2. Does anyone know one, or
>> am I going to have to go from source?
> I'm intending to look into the same thing, for the same reason. So,
> I've just barely started to look, but this is what I've found:
> One can _hope_ that the other packages such as php4, php4-cgi,
> and php4-mysql will be compatible with Apache2 as they are with Apache
> 1.3.x -- but I've not had a chance to test that. Here's a March 2003
> post suggesting that PHP4 with Apache2 is _still_ mostly a non-starter,
> on account of non-threadsafe libs:
.. i haven't looked at these, but if you don't have a busy server, and want to experiment..
ii apache-common 188.8.131.52-1
ii apache2-common 2.0.45-3
ii apache2-doc 2.0.45-3
ii apache2-mpm-prefork 2.0.45-3
ii php4 4.2.3-14
ii php4-cgi 4.2.3-14
ii php4-pear 4.2.3-14
add to /etc/apache2/httpd.conf :
### set according to /usr/share/doc/php4-cgi/README.Debian ###
LoadModule actions_module /usr/lib/apache2/modules/mod_actions.so
Action application/x-httpd-php /cgi-bin/php4
A. Dreyer, Senior SysAdmin (UNIX&Network) / Internet Security Consultant
RM adds: Further details about Apache2, with emphasis on how to build it from source with PHP4, MySQL, PostgreSQL, and/or mod_perl support -- and on how to configure it -- is at http://lamps.efactory.de/e-lamps-2-0.shtml .