Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 48626 invoked by uid 500); 18 Jan 2002 04:04:44 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 48613 invoked from network); 18 Jan 2002 04:04:44 -0000 Received: from tomts12.bellnexxia.net (HELO tomts12-srv.bellnexxia.net) (209.226.175.56) by daedalus.apache.org with SMTP; 18 Jan 2002 04:04:44 -0000 Received: from bronfman504 ([65.94.4.72]) by tomts12-srv.bellnexxia.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with SMTP id <20020118040453.LDKN103.tomts12-srv.bellnexxia.net@bronfman504> for ; Thu, 17 Jan 2002 23:04:53 -0500 From: "Joshua Slive" To: Subject: RE: Building apache from source / LoadModules problem Date: Thu, 17 Jan 2002 23:08:09 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <5.1.0.14.2.20020117175352.00b50088@redhotsweeps.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > From: CDitty [mailto:mail@redhotsweeps.com] > When I use the AddModule and LoadModule commands and run apachectl > configtest, I get the following error. > Syntax error on line 206 of /usr/local/apache/conf/httpd.conf: > Invalid command 'LoadModule', perhaps mis-spelled or defined by a module > not included in the server configuration > > I also ran a httpd -l and the module I am adding is not included. I have > searched the archives and didn't really find anything helpful. > When you did "httpd -l" was mod_so in there? If not, you can't use LoadModule. > Below are the commands that I am running to compile the sources. > > ./configure --prefix=/usr/local/apache --enable-module=most > --enable-shared=max > make > cd ../php-4.1.1 > ./configure --with-mysql --with-apache=../apache_1.3.22 > --enable-track-vars > make > make install > cd ../apache_1.3.22 > ./configure --activate-module=src/modules/php4/libphp4.a Shouldn't this line also have "--prefix=/usr/local/apache --enable-module=most --enable-shared=max"? Joshua. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org