From owner-freebsd-questions Thu Jun 20 0:35: 2 2002 Delivered-To: freebsd-questions@freebsd.org Received: from patriarch.dnsalias.org (adsl-65-69-2-116.dsl.hstntx.swbell.net [65.69.2.116]) by hub.freebsd.org (Postfix) with ESMTP id 43E7A37B406 for ; Thu, 20 Jun 2002 00:34:57 -0700 (PDT) Received: from compgeek ([127.0.0.1]) by patriarch.dnsalias.org with Microsoft SMTPSVC(5.0.2195.4905); Thu, 20 Jun 2002 02:35:18 -0500 Reply-To: From: "Jon Noack" To: Subject: RE: update of apache2 breaks php4 Date: Thu, 20 Jun 2002 02:35:18 -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) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal In-Reply-To: <200206200911.14213.mark.rowlands@minmail.net> X-OriginalArrivalTime: 20 Jun 2002 07:35:18.0360 (UTC) FILETIME=[06A0ED80:01C2182D] 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 > 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 1) try to upgrade (via "make -DWITH_APACHE2 install clean" or "portupgrade -m 'DWITH_APACHE2' apache2") 2) remove lines 93-95 of php_functions.c 3) "make -DWITH_APACHE2 install clean" (not portupgrade, unless you prevent it from cleaning before installing) That seems to work for me -- might break something else, though. Run "pkgdb -F" afterward just to be sure... > 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. Comment out php module load in httpd.conf or upgrade as above. Jon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message