From owner-freebsd-ports@FreeBSD.ORG Fri Apr 11 04:26:10 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4096A37B401 for ; Fri, 11 Apr 2003 04:26:10 -0700 (PDT) Received: from kaneda.oav.net (kaneda.oav.net [195.154.210.144]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8199543F93 for ; Fri, 11 Apr 2003 04:26:09 -0700 (PDT) (envelope-from kiwi@oav.net) Received: from oav.net (unknown [62.4.1.160]) (using TLSv1 with cipher DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by kaneda.oav.net (Postfix) with ESMTP id 43CBC15677; Fri, 11 Apr 2003 13:26:08 +0200 (CEST) (envelope-from kiwi@oav.net) Date: Fri, 11 Apr 2003 13:26:05 +0200 X-Image-Url: http://www.oav.net/~kiwi/kiwi.jpg Content-Type: text/plain; delsp=yes; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v552) To: Ryan O'Neill From: Xavier Beaudouin In-Reply-To: <200304101536.53398.ryanlists@hostbaby.com> Message-Id: <62608EC9-6C10-11D7-9EEC-000393B64262@oav.net> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.552) cc: ports@FreeBSD.org Subject: Re: ports/50781: devel/php4 is missing X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Apr 2003 11:26:10 -0000 Hi :) > On Thursday 10 April 2003 01:36 pm, Xavier Beaudouin wrote: >> And I think that lots of people are like me : asking theirself why >> this >> was removed ? > > I'm pretty sure it was removed because of the changes the PHP guys > made in the > 4.3.x installation process. By default, the mod_php4 port will > install the > apache module *and* the CLI version of /usr/local/bin/php. There is > also a > CGI version of this binary (installed as the same name), which is > impossible > to install via ports without editing the Makefile. See here for more: > http://www.php.net/manual/en/features.commandline.php > http://groups.google.com/ > groups?selm=5c87221d.0302181422.67fc86eb%40posting.google.com Ok I see.... :) In fact I need 2 php : - CGI (or even better FastCGI one) for Caudium Webserver support (it can be done using SAPI as well, but PHP Sapi with Caudium is not really stable due to some problems with threaded server design and some code inside PHP that seems to don't like threads ... - CLI php for local scripts that are done by some 3rd party programs like for example cacti.... I'm not expert in PHP... (and I think I will never be one), but can we have a www/cgi_php4 and devel/php4 that have some differents binaries... > Regardless, i think we should definitely have a port for the php > standalone > binary somewhere, since not everyone needs or wants apache. And, > ideally, > i'd like to see an option in mod_php4 or a separate port so i can > install the > CGI version of the binary. Yeah me too :) > Course then someone has to decide: when to install PEAR, if the two > separate > binaries will have different names, what ini file(s) will they read, > etc. Yup... /Xavier