From owner-freebsd-ports@FreeBSD.ORG Tue Mar 4 17:10:30 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 31628C8 for ; Tue, 4 Mar 2014 17:10:30 +0000 (UTC) Received: from smtp.sina.com.cn (mail7-212.sinamail.sina.com.cn [202.108.7.212]) by mx1.freebsd.org (Postfix) with ESMTP id E9CF8DCC for ; Tue, 4 Mar 2014 17:10:29 +0000 (UTC) Received: from irxd5-201.sinamail.sina.com.cn (unknown [10.55.5.201]) by smtp.sina.com.cn (SINAMAIL) with ESMTP id 05C761C676E for ; Wed, 5 Mar 2014 01:10:27 +0800 (CST) X-Originating-IP: [117.192.225.137] X-Auth-ID: saifi@sina.cn Received: from unknown (HELO [10.10.10.4]) ([117.192.225.137]) by irxd5-201.sinamail.sina.com.cn with ESMTP; 05 Mar 2014 01:10:25 +0800 Date: Tue, 4 Mar 2014 23:03:21 +0530 (IST) From: Saifi Khan X-X-Sender: saifi@localhost.my.domain To: freebsd-ports@freebsd.org Subject: Re: can pkg install mod_php5 (ie. libphp5.so) ? In-Reply-To: <20140303171428.GA25963@graf.pompo.net> Message-ID: References: <20140303171428.GA25963@graf.pompo.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Mar 2014 17:10:30 -0000 On Mon, 3 Mar 2014, Thierry Thomas wrote: > Le lun 3 mar 14 à 17:48:29 +0100, saifi@sina.cn > écrivait : > >> Hi: > > Hello, > >> apache24-2.4.6_1 was installed using 'pkg'. >> >> subsequently, php55-5.5.9 and almost all the modules were installed >> using 'pkg install'. >> >> However, 'pkg search' did not turn in any 'mod_php5'. >> >> Is building php from the '/usr/ports/lang/php5' the only option to >> configure 'APACHE' PHP_SAPI ? > > Yes, it is. But note that PHP-FPM (FastCGI Process Manager) is enabled. > -- > Th. Thomas. > Thanks Thomas for the suggestion. Indeed PHP-FPM is a very useful approach since we dont need to worry about suexec or mod_php. This helps apache and php stock installations and packaging to evolve in a modular way. However, the 'ProxyPassMath' directive cannot be used on a section. This effectively means that i cannot have configuration like Options All AllowOverride All Require all granted ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/home/*/public_html/$1 How do i effectively use 'ProxyPassMatch' directive ? thanks Saifi. From owner-freebsd-ports@FreeBSD.ORG Tue Mar 4 17:55:57 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5C663E25; Tue, 4 Mar 2014 17:55:57 +0000 (UTC) Received: from cargobay.net (cargobay.net [162.220.58.155]) by mx1.freebsd.org (Postfix) with ESMTP id 3499A24B; Tue, 4 Mar 2014 17:55:56 +0000 (UTC) Received: from [192.168.1.6] (pool-71-101-208-95.tampfl.fios.verizon.net [71.101.208.95]) by cargobay.net (Postfix) with ESMTPSA id AB3CF189; Tue, 4 Mar 2014 17:55:39 +0000 (UTC) Message-ID: <5316139F.2060705@ccsys.com> Date: Tue, 04 Mar 2014 12:55:43 -0500 From: "Chad J. Milios" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: freebsd-ports@freebsd.org, thierry@FreeBSD.org Subject: Re: Listing of all available options in ports tree for use in make.conf /ports.conf (WITHOUT_ , WITH_ as well as OPTIONS_SET /UNSET) References: <1393935015572-5891423.post@n5.nabble.com> <1393941951560-5891452.post@n5.nabble.com> <20140304144036.GA55200@graf.pompo.net> In-Reply-To: <20140304144036.GA55200@graf.pompo.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Mar 2014 17:55:57 -0000 On 3/4/2014 9:40 AM, Thierry Thomas wrote: > Le mar 4 mar 14 à 15:05:51 +0100, Jakub Lach > écrivait : >> Thanks for reply! >> >> IMHO, port knobs really should be centrally tracked/standardized. >> When one would like to set some options globally, it gets really >> ugly really fast e.g. > It used to be in /usr/ports/KNOBS but it was removed some days ago. > Anyway, it's still available in svn, and most of the knobs are described > in /usr/ports/Mk/bsd.options.desc.mk . from within a port's directory, make showconfig will show you the current options set and make __MAKE_CONF=/dev/null PORT_DBDIR=/var/empty showconfig will show you the defaults. Hope this is helpful to you