Running PHP as Apache Module mod_php

If you take a look at your Apache module folder, you will notice that most modules start with “mod_” for some reason the people who compiled the php apache module felt the need to name it libphp5.so. Yet, they still refer to it as mod_php, which it is but i only have one thing to say to them “please name your damn module appropriately”.

Well if you want to run PHP as an Apache Module, you will need to make sure that you add (or uncomment) the following line located in your http.conf file.

LoadModule php5_module        modules/libphp5.so

Please assure that you have the libphp5.so inside the modules folder.

Dependency problems prevent configuration of webmin – ubuntu

(Reading database ... 65395 files and directories currently installed.)
Unpacking webmin (from webmin_1.700_all.deb) ...
dpkg: dependency problems prevent configuration of webmin:
 webmin depends on libauthen-pam-perl; however:
  Package libauthen-pam-perl is not installed.
 webmin depends on libio-pty-perl; however:
  Package libio-pty-perl is not installed.
 webmin depends on apt-show-versions; however:
  Package apt-show-versions is not installed.
dpkg: error processing webmin (--install):
 dependency problems - leaving unconfigured
Processing triggers for ureadahead ...
Errors were encountered while processing:

Try This:

apt-get install libauthen-pam-perl

Then run this command below to force the install

apt-get -f install