From owner-freebsd-questions Sun Sep 2 7:21:18 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mailrelay3.inwind.it (mailrelay3.inwind.it [212.141.54.103]) by hub.freebsd.org (Postfix) with ESMTP id 1E67237B401 for ; Sun, 2 Sep 2001 07:21:13 -0700 (PDT) Received: from [62.98.216.114] (62.98.216.114) by mailrelay3.inwind.it (5.5.029) id 3B83AF650031982E for freebsd-questions@freebsd.org; Sun, 2 Sep 2001 16:00:08 +0200 Received: (qmail 1428 invoked by uid 1000); 2 Sep 2001 13:49:51 -0000 Date: Sun, 2 Sep 2001 15:49:51 +0200 From: Francesco Casadei To: Steve Warwick Cc: freebsd-questions@freebsd.org Subject: Re: Configure PHP as CGI on FreeBSD Message-ID: <20010902154951.A821@goku.kasby> Mail-Followup-To: Steve Warwick , freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="UlVJffcvxoiEqYs2" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from ukla@mediaone.net on Sat, Sep 01, 2001 at 10:37:30AM -0700 X-Operating-System: FreeBSD 4.4-RC i386 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 --UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Sep 01, 2001 at 10:37:30AM -0700, Steve Warwick wrote: > Hey all, >=20 > (new FreeBSD User)=20 >=20 > Thanks to those that replied to my previous PHP related question. One > further thought: How do I compile PHP as a CGI rather than a mod_ ? >=20 > I can see there is a standalone feature in the config file but I do not k= now > how to access it. >=20 > Thanks >=20 >=20 > Steve >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message >=20 > end of the original message =46rom make(1) manpage: [...] -D variable Define variable to be 1, in the global context. [...] So if you want STANDALONE variable to be defined, you have to do: # cd /usr/ports/www/mod_php4 # make -DSTANDALONE install clean Francesco Casadei --=20 You can download my public key from http://digilander.iol.it/fcasadei/ or retrieve it from a keyserver (pgpkeys.mit.edu, wwwkeys.pgp.net, ...) Key fingerprint is: 1671 9A23 ACB4 520A E7EE 00B0 7EC3 375F 164E B17B --UlVJffcvxoiEqYs2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE7kjj+fsM3XxZOsXsRArpGAJ48Uar6lf1k3Ku83p38jLypy2tHygCfXnVW 2hgYgbU76HtiHTJ5AYjgrOw= =ztAv -----END PGP SIGNATURE----- --UlVJffcvxoiEqYs2-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message