buy tb-500

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

2 Responses to “Install PHP using yum”

  1. Wilma Says:

    IJWTS wow! Why can’t I think of thngis like that?

  2. ayad Says:

    😉

Leave a Reply