root@cs18554:~# apt-get install apache2
Reading package lists... Done
Building dependency tree
Reading state information... Done
apache2 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
7 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up php5-xcache (3.2.0-1) ...
/usr/sbin/php5enmod: 43: .: Can't open /usr/share/php5/php5-helper
dpkg: error processing package php5-xcache (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up javascript-common (11) ...
dpkg: error processing package javascript-common (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up libapache2-mod-php5 (5.6.14+dfsg-0+deb8u1) ...
Error: The new file /usr/share/php5/php.ini-production does not exist!
dpkg: error processing package libapache2-mod-php5 (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up php5-fpm (5.6.14+dfsg-0+deb8u1) ...
Error: The new file /usr/share/php5/php.ini-production does not exist!
dpkg: error processing package php5-fpm (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up php5-imagick (3.2.0~rc1-1) ...
/usr/sbin/php5enmod: 43: .: Can't open /usr/share/php5/php5-helper
dpkg: error processing package php5-imagick (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up php5-memcache (3.0.8-5) ...
/usr/sbin/php5enmod: 43: .: Can't open /usr/share/php5/php5-helper
dpkg: error processing package php5-memcache (--configure):
subprocess installed post-installation script returned error exit status 2
Setting up php5-xdebug (2.2.5-1) ...
/usr/sbin/php5enmod: 43: .: Can't open /usr/share/php5/php5-helper
dpkg: error processing package php5-xdebug (--configure):
subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
php5-xcache
javascript-common
libapache2-mod-php5
php5-fpm
php5-imagick
php5-memcache
php5-xdebug
E: Sub-process /usr/bin/dpkg returned an error code (1)