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

Kelly Jones kelly.terry.jones at gmail.com
Mon Sep 28 20:54:01 UTC 2009


OK, I feel stupid. Rebooting the system (for an unrelated reason)
fixed this... obviously, I forgot to restart 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.

On 9/28/09, Craig White <craigwhite at azapple.com> wrote:
> 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




More information about the fedora-list mailing list