On Wed, 18 Sep 2002, Edwin D. Viņas wrote:

> Hello pipol!
>
> Im having an error below once apache is started:
>
> .../bin/apachectl stop: httpd (no pid file) not running
> noc# ../bin/apachectl start
> Syntax error on line 577 of /usr/local/apache/conf/httpd.conf:
> Invalid command 'PerlModule', perhaps mis-spelled or defined by a module not 
>included in the server configuration
> .../bin/apachectl start: httpd could not be started

[...]

> Im currently using FreeBSD-4.4, Apache-1.3.26, PHP, Postgres in this machine.
> What do you think is the problem?

You compiled mod_perl as a DSO but didn't load the module.

Try adding something like the following to your httpd.conf:

LoadModule perl_module        libexec/apache/libperl.so


  - ask

PS. You also want to upgrade FreeBSD to 4.6; or at least make sure
you have the latest security upgrades for 4.4.

-- 
ask bjoern hansen, http://www.askbjoernhansen.com/ !try; do();

Reply via email to