Apache and PHP installation on Debian
Posted: Sat Sep 03, 2005 12:19 am
I've never used Debian before and now have access to a Debian system that has Apache2 already installed.
I need to get PHP working there with Apache2 and have tried a lot but have not been able to get it working.
I tried this out
and got this in response
I then tried installing the 'apache2-mpm-prefork' package but that told me that the 'apache2-mpm-worker' package was ;aready installed and quit.
Is it not possible to have the prefork package with 'libapache2-mod-php4'
Or can something else be done?
I need to get PHP working there with Apache2 and have tried a lot but have not been able to get it working.
I tried this out
Code: Select all
dpkg -i libapache2-mod-php4_4.3.10-16_i386.deb
Code: Select all
Selecting previously deselected package libapache2-mod-php4.
(Reading database ... 22741 files and directories currently installed.)
Unpacking libapache2-mod-php4 (from libapache2-mod-php4_4.3.10-16_i386.deb) ...
dpkg: dependency problems prevent configuration of libapache2-mod-php4:
libapache2-mod-php4 depends on apache2-mpm-prefork (>> 2.0.52); however:
Package apache2-mpm-prefork is not installed.
dpkg: error processing libapache2-mod-php4 (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libapache2-mod-php4
Is it not possible to have the prefork package with 'libapache2-mod-php4'
Or can something else be done?