PHP Module for Apache on Amazon EC2

Using Basic Amazon 64-bit AMI

and i do

sudo yum install php
sudo yum install httpd

      

However apache does not handle php files. When I find it, it just prints the source code in the browser. The php module is missing in httpd.conf. How to fix it? i.e. is there a different package to install or how do I change the httpd.conf to make it work.

Thank!

+3


source to share





All Articles