Install PHP using yum
to install php, you need to use below commands
yum -y install php php-mbstring php-mcrypt php-gd
Restart httpd and verify PHP by create phpinfo.php
/etc/rc.d/init.d/httpd restart
cd /var/www/html
vim phpinfo.php
add these line
<? phpinfo() ?>
Change own phpinfo.php
chown apache.apache phpinfo.php
Browse from the browser https://ip-address/phpinfo.php
November 25th, 2016 at 8:50 am
IJWTS wow! Why can’t I think of thngis like that?
November 30th, 2016 at 6:51 am
😉