|
Home > Archive > Debian Developers > November 2006 > Etch, apache-perl and php5 needs manual config
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Etch, apache-perl and php5 needs manual config
|
|
| Patrick Frank 2006-11-30, 1:17 pm |
| Hello.
after a base install of Debian Etch, I selected all necessary packages
for a LAMP System - Linux Apache mysql PHP.
Specifically:
apache-perl 1.3.34-4
php5 5.1.6-5
libapache-mod-php5 5.1.6-5
[and related packages]
But I have to manually edit /etc/apache-perl/httpd.conf and enable
"AddType application/x-httpd-php .php" aswell as
/etc/apache-perl/modules.conf
to add "LoadModule php5_module /usr/lib/apache/1.3/libphp5.so".
Why do the installer scripts not handle that automatically?
That could avoid a lot of noise on support forums of all kind ...
--
greetings,
Patrick Frank
| |
| Steve Kemp 2006-11-30, 1:17 pm |
| On Thu, Nov 30, 2006 at 07:48:40PM +0100, Patrick Frank wrote:
> But I have to manually edit /etc/apache-perl/httpd.conf and enable
> "AddType application/x-httpd-php .php" aswell as
> /etc/apache-perl/modules.conf
> to add "LoadModule php5_module /usr/lib/apache/1.3/libphp5.so".
>
> Why do the installer scripts not handle that automatically?
They would if you used the more recent Apache 2.x or 2.2.x packages.
(In that case you'd use the utility helper script "a2enmod" and
"a2dismod" to enable/disable a module, and that would happen
automatically for the majority of modules. Certainly for
PHP.)
Steve
--
| |
| Russ Allbery 2006-11-30, 1:17 pm |
| Patrick Frank <paddy.frank@gmail.com> writes:
> after a base install of Debian Etch, I selected all necessary packages
> for a LAMP System - Linux Apache mysql PHP.
> Specifically:
> apache-perl 1.3.34-4
If at all possible, I strongly encourage you to use Apache 2.2 instesad of
Apache 1.x. Apache 1.x is nearly unsupported and is certainly not
undergoing any further development, and module and site configuration in
Apache 2.2 is much cleaner.
Already some third-party modules do not support Apache versions prior to
2.0 at all.
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| sean finney 2006-11-30, 7:24 pm |
| hi patrick,
On Thu, 2006-11-30 at 19:48 +0100, Patrick Frank wrote:
> apache-perl 1.3.34-4
> php5 5.1.6-5
> libapache-mod-php5 5.1.6-5
> [and related packages]
>
> But I have to manually edit /etc/apache-perl/httpd.conf and enable
> "AddType application/x-httpd-php .php" aswell
> as /etc/apache-perl/modules.conf
> to add "LoadModule php5_module /usr/lib/apache/1.3/libphp5.so".
>
> Why do the installer scripts not handle that automatically?
they do, actually. the version you've specifically installed didn't,
but that was a bug and it's been fixed for a couple weeks now. in fact
i think the fix has finally made it to etch (5.2.0-something).
sean
|
|
|
|
|