From owner-freebsd-questions Wed Jul 24 14:20:18 2002 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 8C32437B400 for ; Wed, 24 Jul 2002 14:20:13 -0700 (PDT) Received: from post.webmailer.de (natwar.webmailer.de [192.67.198.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7ABAD43E3B for ; Wed, 24 Jul 2002 14:20:10 -0700 (PDT) (envelope-from smazerski@yahoo.co.jp) Received: from ianb.local (pD95177D5.dip.t-dialin.net [217.81.119.213]) by post.webmailer.de (8.9.3/8.8.7) with ESMTP id XAA00392; Wed, 24 Jul 2002 23:19:29 +0200 (MEST) Content-Type: text/plain; charset="iso-8859-1" From: Steve Mazerski To: "MET" , Subject: Re: PHP Apache Assistance ~ like a moron Date: Wed, 24 Jul 2002 23:21:01 +0200 X-Mailer: KMail [version 1.4] References: <003201c23353$7cc7db90$6801a8c0@SURVIVAL> In-Reply-To: <003201c23353$7cc7db90$6801a8c0@SURVIVAL> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200207242321.01059.smazerski@yahoo.co.jp> 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 Wednesday 24 July 2002 22:48, MET wrote: (...) > Here's what I've done so far. > > cd /usr/local/httpd-2.0.39 > ./configure --prefix=3D/usr/local/apache --enable-module=3Dall > --with-mpm=3Dworker > make > make install > > cd /usr/local/php-4.2.2 > ./configure --with-apxs2=3D/usr/local/apache/bin/apxs --with-mysql > --with-xml --enable-ftp --enable-short-tags --enable-calendar > --enable-track-vars --with-tsrm-pth > > make > make install > > I then get a nice little PHP Liscense notice as well as a warning for > register_globals being off. I'm not entirely sure, but it looks like you are building=20 PHP as a DSO-module (i.e. dynamically loadable,=20 not statically compiled in). This is perfectly reasonable, but... > So I continue: > > ee /usr/local/apache/conf/httpd.conf > > I then append the line: AddType application/x-httpd-php .php does Apache know about the PHP module? Somewhere in the httpd.conf there should be two sections (can't recall off-hand) where the modules-to-be-loaded are explictly mentioned. You may need to add PHP in both.=20 HTH S.Mazerski To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message