Date: Tue, 4 Mar 2014 23:03:21 +0530 (IST) From: Saifi Khan <saifi@sina.cn> To: freebsd-ports@freebsd.org Subject: Re: can pkg install mod_php5 (ie. libphp5.so) ? Message-ID: <alpine.BSF.2.00.1403042254580.43172@localhost.my.domain> In-Reply-To: <20140303171428.GA25963@graf.pompo.net> References: <alpine.BSF.2.00.1403032209460.22619@localhost.my.domain> <20140303171428.GA25963@graf.pompo.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 3 Mar 2014, Thierry Thomas wrote: > Le lun 3 mar 14 à 17:48:29 +0100, saifi@sina.cn <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 <Directory> section. This effectively means that i cannot have configuration like <Directory "/home/*/public_html"> Options All AllowOverride All Require all granted ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/home/*/public_html/$1 </Directory> How do i effectively use 'ProxyPassMatch' directive ? thanks Saifi. From owner-freebsd-ports@FreeBSD.ORG Tue Mar 4 17:55:57 2014 Return-Path: <owner-freebsd-ports@FreeBSD.ORG> 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" <milios@ccsys.com> 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> <CACdU+f8z_xzRJZ2V42Cemv_WgAvFhex5apkoLfrZ_-rov20EOw@mail.gmail.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 <freebsd-ports.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-ports>, <mailto:freebsd-ports-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports/> List-Post: <mailto:freebsd-ports@freebsd.org> List-Help: <mailto:freebsd-ports-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports>, <mailto:freebsd-ports-request@freebsd.org?subject=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 <jakub_lach@mailplus.pl> > é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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1403042254580.43172>