Evren,
My system is Linux 8.0 running Apache httpd-2.0.40-8. It is in stock
setting.
I have not touched anything in it.
If I have the following lines in /etc/httpd/conf.d/php.conf
LoadModule php4_module modules/libphp4.so
AddModule mod_php4.c
I got the following errors when I stop and restart the httpd:
[EMAIL PROTECTED] conf.d]# /etc/init.d/httpd stop
Stopping httpd: [ OK ]
[EMAIL PROTECTED] conf.d]# /etc/init.d/httpd start
Starting httpd: Syntax error on line 8 of /etc/httpd/conf.d/php.conf:
Invalid command 'AddModule', perhaps mis-spelled or defined by a module not
included in the server configuration
[FAILED]
If I change 'AddModule' to 'AddModuleInfo', I got the following error:
[EMAIL PROTECTED] conf.d]# /etc/init.d/httpd start
Starting httpd: Syntax error on line 8 of /etc/httpd/conf.d/php.conf:
AddModuleInfo takes two arguments, a module name and additional information
on that module
[FAILED]
The file /etc/httpd/conf/httpd.conf does not have any 'AddModule'
directives.
What is your setting?
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Evren
> Yurtesen
> Sent: Friday, July 25, 2003 1:01 AM
> To: [EMAIL PROTECTED]
> Subject: RE: dialup_admin
>
>
> look pal, I am using FreeBSD and it can install php
> automatically and make
> it work! So I dont know also waht that does. I have searched
> in my WORKING
> httpd.conf file for php and found those, and concluded that for php to
> work, those must be set also! If you didnt of course set some
> stuff about
> your php after install
>
> Evren
>
> On Thu, 24 Jul 2003, Alex Chen wrote:
>
> > The LoadModule directive is already there.
> >
> > The AddModuleInfo needs two parameters.
> > There is no 'AddModule' directive. I do not see how this
> > affects the web server.
> >
> >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] Behalf Of Evren
> > > Yurtesen
> > > Sent: Thursday, July 24, 2003 3:12 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: RE: dialup_admin
> > >
> > >
> > > 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
> > >
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html