Re: php not working
On Sat, Apr 28, 2001 at 06:19:50PM +0100, bob hope wrote:
>
> Preben Randhol wrote ---------
>
> > This works fine for me:
> >
> > httpd.conf:LoadModule php3_module
> > /usr/lib/apache/1.3/libphp3.so
> >
> > mime.types:application/x-httpd-php phtml
> > pht php
> > mime.types:application/x-httpd-php3 php3
> > mime.types:application/x-httpd-php3-source
> > phps
> > mime.types:application/x-httpd-php3-preprocessed
> > php3p
> >
> > srm.conf:DirectoryIndex index.php3 index.phtml
> > index.html
> > srm.conf:AddType application/x-httpd-php3 .php3
> > .phtml
> > srm.conf:AddType application/x-httpd-php3-source
> > .phps
> >
> > but I have called my files .php3 not .php
> >
>
> Appart from the name whats the difference between .php
> & .php3 Is is possible for me to just change the
> name to .php3 and everything will work the same as
> under the .php
>
> What command should I use for this over recursive
> directories? Thanks
>
It really doesn't matter. You can add .php to the lines above like -
srm.conf:AddType application/x-httpd-php3 .php3 .phtml .php
and use both if you like. Are you restart httpd after editing the
files.
kent
--
From seeing and seeing the seeing has become so exhausted
First line of "The Panther" - R. M. Rilke
Reply to: