From owner-freebsd-questions@FreeBSD.ORG Tue Jan 25 20:21:13 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E5A816A4CF for ; Tue, 25 Jan 2005 20:21:13 +0000 (GMT) Received: from complex.heavybit.com (complex.heavybit.com [216.127.86.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0FD9443D2F for ; Tue, 25 Jan 2005 20:21:13 +0000 (GMT) (envelope-from ken@rosewoodblues.com) Received: from [192.168.1.123] (adsl-215-179-55.aep.bellsouth.net [68.215.179.55]) (authenticated) by complex.heavybit.com (8.11.6/8.11.6) with ESMTP id j0PKLCm00754 for ; Tue, 25 Jan 2005 12:21:12 -0800 Mime-Version: 1.0 (Apple Message framework v619) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-questions@freebsd.org From: Ken Hawkins Date: Tue, 25 Jan 2005 15:21:09 -0500 X-Mailer: Apple Mail (2.619) Subject: port newbie question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jan 2005 20:21:13 -0000 I searched and couldn't find this so I will ask an (I'm sure to most) easy question. I installed apache2 and mod_php4 on a 4.9 FreeBSD box however, I needed to install apache13 and NOT apache2. i went through and deinstalled mod_php4 and then deinstalled apache2. on the new installation apache13 the server installation seems to have gone fine however on reinstalling mod_php4 I get the following from the command line when running 'make install clean'; ... Configuring SAPI modules checking for AOLserver support... no checking for Apache 1.x module support via DSO through APXS... no checking for Apache 1.x module support... no checking for member fd in BUFF *... no checking for mod_charset compatibility option... no checking for Apache 2.0 filter-module support via DSO through APXS... no checking for Apache 2.0 handler-module support via DSO through APXS... apxs:Error: Invalid query string `BINDIR' apxs:Error: Invalid query string `MPM_NAME' apxs:Error: Invalid query string `APU_BINDIR' apxs:Error: Invalid query string `APR_BINDIR' ./configure: /apu-config: not found ./configure: /apr-config: not found configure: error: You have enabled Apache 2 support while your server is Apache 1.3. Please use the appropiate switch --with-apxs (without the 2) ===> Script "configure" failed unexpectedly. Please report the problem to ale@FreeBSD.org [maintainer] and attach the "/usr/ports/www/mod_php4/work/php-4.3.9/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/www/mod_php4. I think this is a simple thing to do and i need to be running apache13 with php. how can i clean this up and set up apache13 along with php4? is there an easy way to wipe out all traces of apache and php to start from scratch? thanks, ken;