[CentOS] Apache config for php?

Robin Mordasiewicz robin at mordasiewicz.com
Thu Mar 2 03:43:33 UTC 2006

On Wed, 1 Mar 2006, rado wrote:

> hi!
> ...trying to get my feet wet w/php...
> ok...I think I have to add something to the httpd.conf or something to
> accept php???
> I want be able to embed php in html code...following along in php
> freak's manual but can't get anywhere yet
if you have done
[ root at radobox ~]# yum install php

then do ....
/etc/init.d/httpd restart

it should configure it automatically for you.

Then create a script in your document root such as....



you should see a bunch of information....

At what stage are you stuck at ?

More information about the CentOS mailing list