Re: php support in apache
> I would like to install apache with php.....
>
> I did these two steps...
>
> apt-get install apache
> apt-get install php3-imap (which installed php3-imap and php3)
> but when I access a test.php3 file....thru my browser...
>
> All I get is the code that the test.php3 file has.....
> I edited the srm.conf to allow php modules
> I have checked httpd.conf to make sure that the php module is being loaded....
> It seems that the php code isn't being executed.....it just gets displayed in the browser....
>
> Am I missing a step?
Yes. Add the following to your srm.conf file:
AddType application/x-httpd-php3 .php3
There is probably already a line there, but commented out.
-- Kevin
Reply to: