sudo yum install httpd php php-pgsql
Configure Apache2 by editing the httpd.conf file.
sudo vi /etc/httpd/conf/httpd.conf
Add the following line to the file so that files with names ending in .html will be parsed for php scripts.
AddType application/x-httpd-php .php .html
No comments:
Post a Comment