Screendump from terminal session for the installation of PHP 4 on Debian Sarge, using dotdeb:

myhost:/etc/apache2/mods-available# apt-get install php4
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  apache2-mpm-prefork libapache2-mod-php4
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-php4 php4
0 upgraded, 3 newly installed, 1 to remove and 268 not upgraded.
Need to get 418kB/2033kB of archives.
After unpacking 3252kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 ftp://80.237.136.138 stable/main apache2-mpm-prefork 2.2.3-4+etch1 [418kB]
Fetched 418kB in 0s (3244kB/s)       
dpkg: apache2-mpm-worker: dependency problems, but removing anyway as you request:
 apache2 depends on apache2-mpm-worker (>= 2.2.3-4+etch1) | apache2-mpm-prefork (>= 2.2.3-4+etch1) | apache2-mpm-event (>= 2.2.3-4+etch1); 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 ... 40199 files and directories currently installed.)
Removing apache2-mpm-worker ...
 * Stopping web server (apache2)...                                                                                                                                                                     [ ok ]
Selecting previously deselected package apache2-mpm-prefork.
(Reading database ... 40194 files and directories currently installed.)
Unpacking apache2-mpm-prefork (from .../apache2-mpm-prefork_2.2.3-4+etch1_i386.deb) ...
Selecting previously deselected package libapache2-mod-php4.
Unpacking libapache2-mod-php4 (from .../libapache2-mod-php4_6%3a4.4.7-0.dotdeb.1_i386.deb) ...
Selecting previously deselected package php4.
Unpacking php4 (from .../php4_6%3a4.4.7-0.dotdeb.1_all.deb) ...
Setting up apache2-mpm-prefork (2.2.3-4+etch1) ...
 * Starting web server (apache2)...                                                                                                                                                                     [ ok ]

Setting up libapache2-mod-php4 (4.4.7-0.dotdeb.1) ...

Setting up php4 (4.4.7-0.dotdeb.1) ...







myhost:/etc/apache2/mods-available# apt-get install php4-mysql
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  php4-mysql
0 upgraded, 1 newly installed, 0 to remove and 268 not upgraded.
Need to get 18.5kB of archives.
After unpacking 102kB of additional disk space will be used.
Get:1 http://dotdeb.netmirror.org stable/all php4-mysql 6:4.4.7-0.dotdeb.1 [18.5kB]
Fetched 18.5kB in 0s (55.7kB/s)   
Selecting previously deselected package php4-mysql.
(Reading database ... 40204 files and directories currently installed.)
Unpacking php4-mysql (from .../php4-mysql_6%3a4.4.7-0.dotdeb.1_i386.deb) ...
Setting up php4-mysql (4.4.7-0.dotdeb.1) ...



myhost:/etc/apache2/mods-available# apt-get install php4-gd
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  php4-gd
0 upgraded, 1 newly installed, 0 to remove and 268 not upgraded.
Need to get 91.4kB of archives.
After unpacking 373kB of additional disk space will be used.
Get:1 http://dotdeb.netmirror.org stable/all php4-gd 6:4.4.7-0.dotdeb.1 [91.4kB]
Fetched 91.4kB in 0s (906kB/s)
Selecting previously deselected package php4-gd.
(Reading database ... 40207 files and directories currently installed.)
Unpacking php4-gd (from .../php4-gd_6%3a4.4.7-0.dotdeb.1_i386.deb) ...
Setting up php4-gd (4.4.7-0.dotdeb.1) ...




myhost:/etc/apache2/mods-available# apt-get install phpmyadmin
Reading Package Lists... Done
Building Dependency Tree... Done
Recommended packages:
  php5-mcrypt php4-mcrypt php5-gd
The following NEW packages will be installed:
  phpmyadmin
0 upgraded, 1 newly installed, 0 to remove and 268 not upgraded.
Need to get 3606kB of archives.
After unpacking 14.1MB of additional disk space will be used.
Get:1 http://security.debian.org stable/updates/main phpmyadmin 4:2.9.1.1-6 [3606kB]
Fetched 3606kB in 0s (9771kB/s) 
Preconfiguring packages ...
Selecting previously deselected package phpmyadmin.
(Reading database ... 40210 files and directories currently installed.)
Unpacking phpmyadmin (from .../phpmyadmin_4%3a2.9.1.1-6_all.deb) ...
Setting up phpmyadmin (2.9.1.1-6) ...

Creating config file /etc/phpmyadmin/apache.conf with new version

Creating config file /etc/phpmyadmin/config.footer.inc.php with new version

Creating config file /etc/phpmyadmin/config.header.inc.php with new version

Creating config file /etc/phpmyadmin/config.inc.php with new version

Creating config file /etc/phpmyadmin/htaccess with new version
 * Forcing reload of web server (apache2)...                                                                                                                                                            [ ok ]
 waiting