Configure PHP 4 with Apache 4

nodata fedora at nodata.co.uk
Sun Jan 9 19:51:32 UTC 2005


On Sun, 2005-01-09 at 20:54 +0200, myst20 at in.gr wrote:
> Hello
> 
> During the installation of FC3, I choose to install php and apache from rpms with all extras modules.
> Now I can see that I have installed PHP 4.3.10 (cgi) and Apache 2.0 but when I try to open a .php webpage like info.php it opens a window that ask me to open this file with another application.
> I open httpd.conf and check that there is a new line 
> 
>   Include conf.d/*.conf
> 
> and inside directory 
>   /etc/httpd/conf.d
> exist the file
>  php.conf
> 
> Any idea what I'm doing wrong and can't activate php in apache?
> 
> Thanks
> 

You probably have the Application line for php commented out.
Uncomment it and restart Apache.




More information about the fedora-list mailing list