DISCOVER
×

How to Install PHP in Webmin

Updated February 21, 2017

Webmin is a Linux operating system designed for online servers. Many people use these servers for websites and online retail stores. PHP is a programming language used to create web-based applications. If you would like to install PHP onto your Webmin server, you can do so with just a few commands on the server's Terminal window. The Terminal window is the Linux equivalent to Microsoft's "Command Prompt" and gives users the ability to input server commands.

Log into your Webmin server then click on the "Terminal" icon to launch the Terminal window.

Type "sudo apt-get install php5-snmp" -- without the quotation marks -- into the Terminal window then press "Enter."

Key in "sudo aptitude -y install Perl libnet-ssleay-Perl libauthen-pam-Perl libpam-runtime libio-pty-Perl libmd5-Perl openssl libapt-pkg-Perl apt-show-versions" onto the Terminal window then press "Enter."

Type "wget http://ftp.debian.org/pool/main/libm/libmd5-perl/libmd5-perl_2.03-1_all.deb" then press "Enter."

Key in "s udo dpkg -i libmd5-perl_2.03-1_all.deb" onto the Terminal window then press "Enter."

Type "wget http://downloads.sourceforge.net/project/webadmin/webmin/1.510/webmin_1.510-2_all.deb?use_mirror=cdnetworks-us-1 " into the Terminal window then press "Enter."

Key in "sudo dpkg -i webmin_1.510-2_all.deb" onto the Terminal window then press "Enter."

Type "reboot" into the Terminal window then press "Enter" to reboot your server with the PHP scripts installed.

Cite this Article A tool to create a citation to reference this article Cite this Article

About the Author

Charles Poole holds a Bachelor of Arts in creative writing from Appalachian State University. He started freelancing in college for local publications in Boone, N.C. and is continuing his career through online freelancing with a specialization in affiliate marketing, blogging and SEO.