Cannot restart apache2 on Debian server - "Cannot load /usr/local/apache2/modules/libphp5.so into server"

view story

http://serverfault.com – Okay... I'm something of a beginner when it comes to servers, and I'm having some issues with restarting apache on my Debian web server. I just ran the following: aptitude install apache2 openssl Immediately afterwards, I tried to restart apache and got the following error message: IS-13902:/usr/local/apache2/modules# /etc/init.d/apache restart httpd: Syntax error on line 55 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: libidn.so.11: cannot open shared object file: No such file or directory I ran ldd /usr/local/apache2/modules/libp (HowTos)