Knowledgebase
Knowledgebase
Install HTTP (Apache) and PHP
Posted by Will Kruss on 30 May 2016 10:38 PM

This article gives a step by step guide on how you can install HTTP (Apache) and PHP. Follow the tutorial & do yourself.

Login via SSH

Type the following commands:

  • install httpd mod_ssl
  • chkconfig httpd on
  • yum install php-common php-gd php-mcrypt php-pear php-pecl-memcache php-mhash php-mysql php-xml
  • /etc/init.d/httpd start

To enable webmin to configure your Apache installation:

  • Login to webmin on your server
  • Expand the 'Webmin' button on the left hand side
  • Select 'Webmin Configuration'
  • Click on 'Refresh Modules'

Once this is complete, you will see 'Apache Webserver' as an option under the 'Servers' category on the left hand menu.

(0 vote(s))
Helpful
Not helpful