Installing Apache on Centos 6.4 here
Step 1: Install Remi Dependency on CentOS 6 and Red Hat (RHEL) 6
[root@howtolinux ~]# rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
Stepv2 : Install Apache and PHP
[root@howtolinux ~]# yum --enablerepo=remi,remi-test install httpd php php-common
Step 3: Start Apache
[root@howtolinux ~]# /etc/init.d/httpd start
Or
[root@howtolinux ~]# service httpd start
Step 4: Creat file info.php test PHP
Add following content to /var/www/html/info.php file.
[root@howtolinux ~]# vi /var/www/html/info.php
<?php
phpinfo();
?>
Step 5: Disable IPtable or Open Port IP table
[root@howtolinux ~]# /etc/init.d/iptables stop
Step 6: Check created page with browser
Access following address, with your browser. http://localhost/info.phpDone, Good Luck For You!
Astrosolis voyance gratuite le signe astrologique lion
ReplyDeleteAlso visit my web page - voyance par telephone