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

Itamar Reis Peixoto itamar at ispbrasil.com.br
Mon Sep 28 19:17:18 UTC 2009


yum -y install httpd php
service httpd restart

look at /etc/httpd/conf.d



On Mon, Sep 28, 2009 at 4:12 PM, Kelly Jones
<kelly.terry.jones at gmail.com> 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?
>
> --
> 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.
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
>



-- 
------------

Itamar Reis Peixoto

e-mail/msn: itamar at ispbrasil.com.br
sip: itamar at ispbrasil.com.br
skype: itamarjp
icq: 81053601
+55 11 4063 5033
+55 34 3221 8599




More information about the users mailing list