From owner-freebsd-questions Thu Jun 20 0:48:25 2002 Delivered-To: freebsd-questions@freebsd.org Received: from krag.kragware.com (net-216-37-76-12.in-addr.worldspice.net [216.37.76.12]) by hub.freebsd.org (Postfix) with ESMTP id 66F3937B401 for ; Thu, 20 Jun 2002 00:48:19 -0700 (PDT) Received: by krag.kragware.com (Postfix, from userid 1000) id BA10D7871; Thu, 20 Jun 2002 02:48:06 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by krag.kragware.com (Postfix) with ESMTP id EB8423CFC; Thu, 20 Jun 2002 02:48:06 -0500 (CDT) Date: Thu, 20 Jun 2002 02:48:06 -0500 (CDT) From: Alex Charalabidis X-X-Sender: alex@mail.kragware.com To: Mark Rowlands Cc: freebsd-questions@freebsd.org Subject: Re: update of apache2 breaks php4 In-Reply-To: <200206200911.14213.mark.rowlands@minmail.net> Message-ID: <20020620023717.P20061-100000@mail.kragware.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 20 Jun 2002, Mark Rowlands wrote: > while installing mod_php4 WITH_APACHE2 the follow error occurs: > > php_functions.c:93 syntax error > > stop in ../work/php-4.2.1/sapi/apache2filter > > attempting to install apache2 standalone produces the following error when you > try to start apache..... > > httpd:module "sapi_apache2.c" is not compatible with this version of Apache. > > thoughts anybody? Edited php_functions.c and replaced MODULE_MAGIC_AT_LEAST with AP_MODULE_MAGIC_AT_LEAST. It built. It runs. I don't know or care if and what it breaks, and won't know until I actually read some documentation in the morning, and therefore will not recommend it to anyone less desperate than I am. I just need a working production server right now and without reverting to 2.0.36. This seems to do the trick. -ac To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message