Not a php problem
debconf: DbDriver config: /var/cache/debconf/config.dat is locked by another
process: Resource temporarily unavailable
dpkg: error processing libapache2-mod-php5 (--configure):
subprocess installed post-installation script returned error exit
** Package changed: php5 (Ubuntu)
** Attachment added: AptOrdering.txt
http://launchpadlibrarian.net/35206285/AptOrdering.txt
** Attachment added: Dependencies.txt
http://launchpadlibrarian.net/35206286/Dependencies.txt
** Attachment added: Dmesg.txt
http://launchpadlibrarian.net/35206287/Dmesg.txt
** Attachment