[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]