--- Begin Message ---
Package: apache2
Version: 2.4.1-2
Severity: grave
# a2enmod php5
Enabling module php5.
To activate the new configuration, you need to run:
service apache2 restart
# service apache2 restart
apache2: Syntax error on line 161 of /etc/apache2/apache2.conf: Syntax error on line 1 of /etc/apache2/mods-enabled/php5.load: Cannot load /usr/lib/apache2/modules/libphp5.so into server: /usr/lib/apache2/modules/libphp5.so: cannot open shared object file: No such file or directory
Action 'configtest' failed.
The Apache error log may have more information.
# set libapache2-mod-php5
# aptitude install $@
The following NEW packages will be installed:
apache2-mpm-prefork{a} (D: libapache2-mod-php5, R: apache2-doc, R: phpmyadmin, R: wdg-html-validator) (for )
apache2.2-bin{a} (D: apache2-mpm-prefork, D: apache2.2-common, R: apache2-bin) (for libapache2-mod-php5)
apache2.2-common{a} (D: apache2-mpm-prefork, D: libapache2-mod-php5, R: apache2, R: apache2-bin, R: apache2-data) (for libapache2-mod-php5)
libapache2-mod-php5
0 packages upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/4,369 kB of archives. After unpacking 12.1 MB will be used.
The following packages have unmet dependencies:
apache2-data: Conflicts: apache2.2-common but 2.2.22-2 is to be installed.
apache2: Conflicts: apache2.2-common but 2.2.22-2 is to be installed.
apache2-bin: Conflicts: apache2.2-bin but 2.2.22-2 is to be installed.
Conflicts: apache2.2-common but 2.2.22-2 is to be installed.
The following actions will resolve these dependencies:
Remove the following packages:
1) apache2
2) apache2-bin
3) apache2-data
--- End Message ---