space:/var/www# apt-get install libapache2-mod-php5
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
apache2-mpm-prefork
Suggested packages:
php-pear
The following packages will be REMOVED:
apache2-mpm-worker
The following NEW packages will be installed:
apache2-mpm-prefork libapache2-mod-php5
0 upgraded, 2 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B/2938kB of archives.
After unpacking 6124kB of additional disk space will be used.
Do you want to continue [Y/n]? y
dpkg: apache2-mpm-worker: dependency problems, but removing anyway as you request:
apache2 depends on apache2-mpm-worker (>= 2.2.3-4) | apache2-mpm-prefork (>= 2.2.3-4) | apache2-mpm-event (>= 2.2.3-4); however:
Package apache2-mpm-worker is to be removed.
Package apache2-mpm-prefork is not installed.
Package apache2-mpm-event is not installed.
(Reading database ... 72184 files and directories currently installed.)
Removing apache2-mpm-worker ...
Stopping web server (apache2)...apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
.
Selecting previously deselected package apache2-mpm-prefork.
(Reading database ... 72180 files and directories currently installed.)
Unpacking apache2-mpm-prefork (from .../apache2-mpm-prefork_2.2.3-4_amd64.deb) ...
Selecting previously deselected package libapache2-mod-php5.
Unpacking libapache2-mod-php5 (from .../libapache2-mod-php5_5.2.0-10_amd64.deb) ...
Setting up apache2-mpm-prefork (2.2.3-4) ...
Starting web server (apache2)...apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
.
Setting up libapache2-mod-php5 (5.2.0-10) ...