The Linux Daily Tutorials, Guides, Tips, and Tricks from Everyday Experiences Procedure: 1.) Install the software: The following command will install the programs needed for HTTPD (PHP enabled) called Apache and PHP. These programs are the heart of the web server. Just type or copy/paste them into the terminal. yum install php httpd system-config-httpd mod_ssl chkconfig httpd on service httpd restart The configuration of the web server by default will be fine for most users, but if you’d like to make it your own, the files are located here: /etc/php.ini /etc/httpd/conf/* /etc/httpd/conf.d/*
I tried this in terminal but it does not work and I wonder why. I have yum and what ever else installed so this is as far as I got.