From owner-freebsd-questions@FreeBSD.ORG Wed May 7 08:34:32 2003 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 3867E37B401 for ; Wed, 7 May 2003 08:34:32 -0700 (PDT) Received: from [204.213.64.2] (firewall.tiadon.com [204.213.64.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 15C4043F3F for ; Wed, 7 May 2003 08:34:31 -0700 (PDT) (envelope-from kdk@daleco.biz) Received: from rmc.tiadon.com by [204.213.64.2] ESMTP; Wed, 7 May 2003 10:33:26 -0500 Received: from applications.tiadon.com (mail.tiadon.com [172.16.18.172]) by bcec01.tiadon.net with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id H2LVZ19K; Wed, 7 May 2003 10:34:29 -0500 Received: from firewall.tiadon.com ([204.213.65.158]) by applications.tiadon.com with Microsoft SMTPSVC(5.5.1877.197.19); Wed, 7 May 2003 10:34:29 -0500 Received: from [204.213.65.158] by firewall.tiadon.com via smtpd (for mail.tiadon.com [172.16.18.172]) with ESMTP; Wed, 7 May 2003 10:33:22 -0500 Message-ID: <070e01c314ad$e36cec50$fa00a8c0@DaleCoportable> From: "Kevin Kinsey, DaleCo, S.P." To: , "Roman Neuhauser" References: <86871511640.20030507152659@buz.ch> <20030507142937.GS12792@freepuppy.bellavista.cz> <6875943312.20030507164051@buz.ch> Date: Wed, 7 May 2003 10:32:32 -0500 Organization: DaleCo, S.P.---"the solutions people" MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300 cc: questions@freebsd.org Subject: Re: Re[2]: PHP4 port won't output Content type when run as CGI script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Kevin Kinsey, DaleCo, S.P." List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 May 2003 15:34:32 -0000 From: "Gabriel Ambuehl" To: "Roman Neuhauser" Cc: Sent: Wednesday, May 07, 2003 9:40 AM Subject: Re[2]: PHP4 port won't output Content type when run as CGI script > -----BEGIN PGP SIGNED MESSAGE----- > > Hello Roman, > > Wednesday, May 7, 2003, 4:29:37 PM, you wrote: > > > > roman@freepuppy ~ 1002:1 > > ./install/php/php-4.3.2RC1/sapi/cli/php -v > > PHP 4.3.2-RC1 (cli) (built: Mar 22 2003 02:52:56) > > Copyright (c) 1997-2003 The PHP Group > > Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies > > > roman@freepuppy ~ 1003:1 > > ./install/php/php-4.3.2RC1/sapi/cgi/php -v > > PHP 4.3.2-RC1 (cgi), Copyright (c) 1997-2003 The PHP Group > > Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies > > > Acutally I'm sure I'm using the CLI edition. I have no clue why the > CGI > edition doesn't get installed in first place cause when I build the > source myself (i.e. not by port) it works perfectly. IMNSHO, there's > something wrong about the port not installing CGI as well. Maybe as > php.cgi alongside php (CLI)? > > I know that in the past, there actually was an option to install the > CGI version but that was removed some time ago. So am I supposed to > build PHP from sources now to get CGI functionality? > > Best regards, > Gabriel The CLI version of PHP>4.3.0 now runs as with the -q switch by default. When building from source, PHP now builds both a CLI and a CGI version in seperate subdirs under the ./sapi/ folder, so you may already have it available...just install it, if you want. 'Course, it'd be better from ports, I guess... HTH, Kevin Kinsey