From owner-freebsd-ports@FreeBSD.ORG Tue Mar 14 14:16:13 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org 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 03DF216A420 for ; Tue, 14 Mar 2006 14:16:13 +0000 (UTC) (envelope-from uros.gruber@vizija.si) Received: from strippy.vizija.si (strippy.vizija.si [217.72.81.150]) by mx1.FreeBSD.org (Postfix) with ESMTP id 686AE43D72 for ; Tue, 14 Mar 2006 14:16:12 +0000 (GMT) (envelope-from uros.gruber@vizija.si) Received: from cartman.dev (cartman.dev [193.95.243.216]) by strippy.vizija.si (Postfix) with ESMTP id 88389A6DD4 for ; Tue, 14 Mar 2006 15:16:07 +0100 (CET) Received: from cartman.dev (localhost [127.0.0.1]) by cartman.dev (Postfix) with ESMTP id 92CBDD4C11 for ; Tue, 14 Mar 2006 15:29:52 +0100 (CET) Received: from [10.0.2.1] (uros [10.0.2.1]) by cartman.dev (Postfix) with ESMTP id 77CA7D4C0F for ; Tue, 14 Mar 2006 15:29:52 +0100 (CET) Message-ID: <4416D027.8000807@vizija.si> Date: Tue, 14 Mar 2006 15:16:07 +0100 From: =?windows-1252?Q?Uro=9A_Gruber?= User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: <43E8BD2F.4080406@vizija.si> <43E8F730.3030207@rogers.com> <64046.193.77.156.117.1139349788.squirrel@mail.vizija.si> <20060227214247.GE97309@svcolo.com> <44154A73.4000705@vizija.si> <20060313112325.GA50979@pentarou.parodius.com> <4415651C.3020005@vizija.si> <4416BDB1.9000806@vizija.si> <20060314140410.GA9349@pentarou.parodius.com> In-Reply-To: <20060314140410.GA9349@pentarou.parodius.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-Virus-Scanned: amavisd-new at vizija.si Subject: Re: php-cli and php-cgi X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Mar 2006 14:16:13 -0000 Jeremy Chadwick wrote: > On Tue, Mar 14, 2006 at 01:57:21PM +0100, Uro? Gruber wrote: > >> If this is right >> >> portsdb -r www/php5-cgi >> >> then no other ports depend on php5 cgi mode. Because of that I thing >> it's ok if cgi version is installed in >> /usr/local/bin/phpX-cgi etc and php-cgi.ini >> >> This does not break any port and install is easy and automatic. >> >> Is this possible to change in ports by maintainer, because I don't quite >> understand how is done installing of binaries. >> > > I maintain the port which explicitly relies on the CGI version of PHP. > It's called suphp. I use the WANT_PHP_CGI knob, as defined in > ports/Mk/bsd.php.mk. There are a total of four (4) ports which use > WANT_PHP_CGI, and 3 of the 4 only use it when suphp support is > enabled: > > ports/databases/phpmyadmin > ports/net/phpldapadmin > ports/www/horde > ports/www/suphp > > The number of Emails I get per week about the suphp port (particularly > "why hasn't it been updated to 0.6.x") proves to me how many FreeBSD > server administrators rely on it. suphp is presently only one of two > methods available for securely running PHP scripts as the script owner > or per a user/group directive inside of an Apache block. > It's a important port for web hosting providers. > > Please be aware of this before requesting/submitting any changes. > Ensure your changes work with suphp -- thoroughly -- before agreeing > they be committed. > > Ok my mistake. I looks like portupgrade did not recognize this one. Btw. I have cgi with per user virtualhost without suphp and it works. As I said before. I'm not good at port scripting so I'm waiting for port maintainer to reply so we can all talk about this feature. regards Uros