[mythtv-users] php doesn't work in apache2

Bryan Halter bhalter at armyofpenguins.com
Wed Mar 15 02:58:03 UTC 2006


What distro are you using?  Can you check that there is a LoadModule
directive for apache?  Gentoo makes you add -DPHP to /etc/conf.d/apache2
not sure if other Debian based distros do the same.  A few things to
look at atleast.

--Bryan

Brian Sutcliff wrote:
> PHP doesn't work in apache. I am trying to get mythweb working.
>  
> I added the following line to httpd.conf
>
> AddType application/x-httpd-php .php
>  
> I also created the info.php file.
>  
> If I do:
>  
> php info.php
>  
> It works, but through apache is says unknown file type and wants me to
> save it.
>  
> Any ideas?
>  
> Thanks,
>  
> Brian
> ------------------------------------------------------------------------
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>   



More information about the mythtv-users mailing list