If you name your files *.php3, it will parse HTML and php3. If you name
your files *.html, it will only work with html. If you want to use
server-side includes, you must use .shtml.
However, everything that server-side includes offer, you can do it with
php3.
Jean-Michel Dault
[EMAIL PROTECTED]
On Tue, 7 Mar 2000, Torben Tretau wrote:
> Date: Tue, 07 Mar 2000 21:49:00 +0100
> From: Torben Tretau <[EMAIL PROTECTED]>
> To: Jean-Michel Dault <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED], [EMAIL PROTECTED]
> Subject: Re: [expert] PHP on Air
>
>
> Hi Jean-Michel!
>
> Thanks for your hint. With naming those files whatever.php3
> it worked..
> So i have to add something to parse also html-files, sorry,
> thought that this is the standard situation. But now i got it..
>
> Bye,
> Torben
>
> Jean-Michel Dault wrote:
> >
> > On Sat, 4 Mar 2000, Bug Hunter wrote:
> >
> > > You may have a bit more reading to do. Apache has to know to associate
> > > the web pages produced with the php parser. you have to edit the
> > > /etc/httpd.conf files. I forget exactly what you put there. If you visit
> > > http://www.php.net, and look for their searchable FAQ, it will probably
> > > put you on the right track. Some others have had problems similar to
> > > yours, and the answers are provided by users that solved the problems.
> >
> > The Mandrake Apache and PHP3 are already pre-configured. All you have to
> > do is name your file whatever.php3 and it should work.
> >
> > If it doesn't...
> > >
> > > Also, did you restart your server after changing the config files? If
> > > not, it doesn't work. (experience speaking :))
> >
> > Yup, you have to restart Apache =) /etc/rc.d/init.d/apache restart
> >
> > Also, make sure your web server has the permissions to read your php3
> > files. (chmod 0755 file).
> >
> > Jean-Michel Dault
> > [EMAIL PROTECTED]
>