How to install Apache w/ PHP when "yum install httpd php" fails?

Kelly Jones kelly.terry.jones at gmail.com
Mon Sep 28 19:12:34 UTC 2009


I did "yum install httpd php" to install Apache w/ PHP, and created a
test page with "<?php phpinfo(); ?>". When I visit it and view source,
I get back "<?php phpinfo(); ?>" instead of my PHP config.

/etc/httpd/conf/httpd.conf says nothing about PHP, so I suspect I did
the install wrong.

How do I enable PHP support in Apache?

-- 
We're just a Bunch Of Regular Guys, a collective group that's trying
to understand and assimilate technology. We feel that resistance to
new ideas and technology is unwise and ultimately futile.




More information about the fedora-list mailing list