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

Craig White craigwhite at azapple.com
Mon Sep 28 19:21:17 UTC 2009


On Mon, 2009-09-28 at 13:12 -0600, Kelly Jones wrote:
> 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?
----
probably just needed to restart httpd after you installed php.

'service httpd restart'

then try again

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the fedora-list mailing list