Fedora 15
Sponsored Link

Install PHP2011/05/29

[1] Install PHP
[root@www ~]#
yum -y install php php-mbstring php-pear
[root@www ~]#
/etc/rc.d/init.d/httpd restart

Restarting httpd (via systemctl): Stopping httpd: [ OK ]
Starting httpd: [ OK ]
[ OK ]
[2] Create a PHP test page and access to it with web browser. It's OK if following page is shown.
[root@www ~]#
vi /var/www/html/index.php
<div style="width: 100%; font-size: 40px; font-weight: bold; text-align: center;">
   print Date("Y/m/d");
Matched Content