Thanks for the comments!
On Wed, Dec 11, 2002 at 06:55:11PM +0000, Chris Hewitt wrote:
> It will complain if httpd.conf contains something it does not
> understand. One test I do to check Apache is actually looking at the
> httpd.conf I am editing is to put some rubbish in it and check Apache
> complains when restarting it.
I'm definitely using the httpd.conf I'm editing. If I put in an "AddModule"
directive, for example, it complains -- because I'm using apache2 which
doesn't use the AddModule directive.
>
> >but it doesn't list the loaded
> >
> httpd -l will only list statically linked modules. How did you compile
> php (what is your configure line)?
Riight -- but the [notify] line put in the error_log upon httpd start
will list modules, won't it? It lists my mod_perl and mod_ssl ...
and used to list php.
> >>LoadModule php4_module modules/libphp4.so
> >>AddType application/x-httpd-php php
> >>
> The second line should have a full stop (".php" not "php"). You may also
> need an AddModule line. The url of the file you are calling in your
> browser will need to have the extension ".php".
Right, I fixed the AddType line (so it is now ".php"). I believe AddModule
is not needed or supported in apache2.
thanks again! but still I can't get it to work.
--j
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php