Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Mar 2006 06:04:10 -0800
From:      Jeremy Chadwick <freebsd@jdc.parodius.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: php-cli and php-cgi
Message-ID:  <20060314140410.GA9349@pentarou.parodius.com>
In-Reply-To: <4416BDB1.9000806@vizija.si>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <VirtualHost> 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.

Thanks.

-- 
| Jeremy Chadwick                                 jdc at parodius.com |
| Parodius Networking                        http://www.parodius.com/ |
| UNIX Systems Administrator                   Mountain View, CA, USA |
| Making life hard for others since 1977.                             |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060314140410.GA9349>