Apache config for php?

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



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@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....

index.php

<?php
phpinfo();
?>


you should see a bunch of information....

At what stage are you stuck at ?

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux