I had similar problem.
You should also have

LoadModule php4_module libexec/apache/libphp4.so

AddModule mod_php4.c

My problem was that these were under a IfDefine SSL clause
and I have started server without ssl (doh!)

Evren

On Thu, 24 Jul 2003, Alex Chen wrote:

> Barry,
>   What kind of MIME type should it be?
>
> I added the following directive
>
> AddType application/x-httpd-php .php3
>
> in /etc/httpd/conf.d/php.conf
>
> Stop and re-started the httpd.
>
> The result is still the same, nothing on the left pane, except the
> "<?php..." when I view 'index.html' under
> dialup_admin/htdocs.
>
> Am I starting from the wrong HTML file?
>
> If configuring the Apache still fails, I may have to go to the extreme by
> changing all the reference to php3 and file suffix to php, as suggested by
> Truong Manh.
>
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of
> > [EMAIL PROTECTED]
> > Sent: Thursday, July 24, 2003 7:36 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: dialup_admin
> >
> >
> >
> >
> >
> > > > -----Original Message-----
> > >
> > > > I copied the dialup_admin directory to /var/www/html/dialup_admin
> > > > Which I type the following URL in the browser, I got an
> > dialup_admin
> > > > image on the right and some text bearing <?php .... on the left.
> > >
> > > When I had this problem, it was due to permissions not
> > being set correctly
> > > on the server, IIRC
> > >
> > > Andrew
> > >
> > When you get php code displayed and not parsed, 9/10 times its the
> > mime-types that are not setup correctly.
> >
> >
> > -
> > List info/subscribe/unsubscribe? See
> > http://www.freeradius.org/list/users.html
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to