Preparing to unpack .../php5-readline_5.5.12+dfsg-2ubuntu4.1_amd64.deb ... Unpacking php5-readline (5.5.12+dfsg-2ubuntu4.1) over (5.5.12+dfsg-2ubuntu4) ... Preparing to unpack .../php5-cli_5.5.12+dfsg-2ubuntu4.1_amd64.deb ... Unpacking php5-cli (5.5.12+dfsg-2ubuntu4.1) over (5.5.12+dfsg-2ubuntu4) ... Preparing to unpack .../php5-cgi_5.5.12+dfsg-2ubuntu4.1_amd64.deb ... Unpacking php5-cgi (5.5.12+dfsg-2ubuntu4.1) over (5.5.12+dfsg-2ubuntu4) ... Preparing to unpack .../php5-common_5.5.12+dfsg-2ubuntu4.1_amd64.deb ... Unpacking php5-common (5.5.12+dfsg-2ubuntu4.1) over (5.5.12+dfsg-2ubuntu4) ... Preparing to unpack .../systemd-shim_8-1ubuntu0.1_amd64.deb ... Leaving 'diversion of /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service to /usr/share/dbus-1/system-services/org.freedesktop.systemd1.service.systemd by systemd-shim' Unpacking systemd-shim (8-1ubuntu0.1) over (8-1) ... Selecting previously unselected package libapache2-mod-php5. Preparing to unpack .../libapache2-mod-php5_5.5.12+dfsg-2ubuntu4.1_amd64.deb ... Unpacking libapache2-mod-php5 (5.5.12+dfsg-2ubuntu4.1) ... Preparing to unpack .../php5_5.5.12+dfsg-2ubuntu4.1_all.deb ... Unpacking php5 (5.5.12+dfsg-2ubuntu4.1) over (5.5.12+dfsg-2ubuntu4) ... Processing triggers for man-db (2.7.0.2-2) ... Processing triggers for dbus (1.8.8-1ubuntu2) ... Setting up php5-common (5.5.12+dfsg-2ubuntu4.1) ... php5_invoke: Enable module pdo for apache2 SAPI php5_invoke pdo: already enabled for cli SAPI php5_invoke pdo: already enabled for cgi SAPI php5_invoke: Enable module opcache for apache2 SAPI php5_invoke opcache: already enabled for cli SAPI php5_invoke opcache: already enabled for cgi SAPI Setting up php5-cli (5.5.12+dfsg-2ubuntu4.1) ... php5_invoke pdo: already enabled for cli SAPI php5_invoke json: already enabled for cli SAPI php5_invoke opcache: already enabled for cli SAPI php5_invoke readline: already enabled for cli SAPI Setting up php5-readline (5.5.12+dfsg-2ubuntu4.1) ... php5_invoke: Enable module readline for apache2 SAPI php5_invoke readline: already enabled for cli SAPI php5_invoke readline: already enabled for cgi SAPI Setting up php5-cgi (5.5.12+dfsg-2ubuntu4.1) ... php5_invoke pdo: already enabled for cgi SAPI php5_invoke json: already enabled for cgi SAPI php5_invoke opcache: already enabled for cgi SAPI php5_invoke readline: already enabled for cgi SAPI Setting up systemd-shim (8-1ubuntu0.1) ... Installing new version of config file /etc/dbus-1/system.d/org.freedesktop.systemd-shim.conf ... Setting up libapache2-mod-php5 (5.5.12+dfsg-2ubuntu4.1) ... Replacing config file /etc/php5/apache2/php.ini with new version php5_invoke pdo: already enabled for apache2 SAPI php5_invoke: Enable module json for apache2 SAPI php5_invoke opcache: already enabled for apache2 SAPI php5_invoke readline: already enabled for apache2 SAPI Module mpm_event disabled. Enabling module mpm_prefork. apache2_switch_mpm Switch to prefork * Restarting web server apache2  AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message [ OK ] dpkg: error processing package libapache2-mod-php5 (--configure): subprocess installed post-installation script returned error exit status 1