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
php apache amazon-ec2


source to share


No one has answered this question yet

Check out similar questions:

4270
Link. What does this symbol mean in PHP?
2776
How can I prevent SQL injection in PHP?
2414
Why shouldn't I use the mysql_ * functions in PHP?
2335
Removing an element from an array in PHP
1906
How does PHP foreach work?
632
Trying to SSH into Amazon Ec2 instance - permission error
nine
php and apache installation on Amazon EC2 instances
0
What is the difference between installing apache with "yum install httpd" and "source"?
0
Installing CodeIgniter on Amazon EC2
0
PHP not working after upgrade



All Articles
Loading...
X
Show
Funny
Dev
Pics