From owner-svn-doc-all@freebsd.org Fri Jun 24 10:44:48 2016 Return-Path: Delivered-To: svn-doc-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 13D53B7327D; Fri, 24 Jun 2016 10:44:48 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CB657224E; Fri, 24 Jun 2016 10:44:47 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u5OAiltf049110; Fri, 24 Jun 2016 10:44:47 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u5OAikm8049108; Fri, 24 Jun 2016 10:44:46 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201606241044.u5OAikm8049108@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Fri, 24 Jun 2016 10:44:46 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r48999 - in head/en_US.ISO8859-1/books/porters-handbook: special uses X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jun 2016 10:44:48 -0000 Author: mat Date: Fri Jun 24 10:44:46 2016 New Revision: 48999 URL: https://svnweb.freebsd.org/changeset/doc/48999 Log: Document USES=php. Reviewed by: wblock Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D6932 Modified: head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml Modified: head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml Fri Jun 24 10:44:38 2016 (r48998) +++ head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml Fri Jun 24 10:44:46 2016 (r48999) @@ -3425,19 +3425,25 @@ do-install: Use WWWOWN and - WWWGRP, with parsimony, and remember that - every file the web server can write to is a security risk - waiting to happen. + WWWGRP sparingly. Remember that every + file the web server can write to is a security risk waiting + to happen. Do not depend on Apache unless the web app explicitly needs Apache. Respect that users may wish to run a web - app on different web server than Apache. + application on a web server other than + Apache. PHP + PHP web applications declare + their dependency on it with USES=php. + Variables are used to specify which + PHP modules are required. + Variables for Ports That Use PHP @@ -3445,10 +3451,7 @@ do-install: USE_PHP - The port requires PHP. The value - yes adds a dependency on PHP. - The list of required PHP extensions can be specified - instead. Example: + The list of required PHP extensions. Example: pcre xml gettext Modified: head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml Fri Jun 24 10:44:38 2016 (r48998) +++ head/en_US.ISO8859-1/books/porters-handbook/uses/chapter.xml Fri Jun 24 10:44:46 2016 (r48999) @@ -1722,6 +1722,15 @@ USE_MATE= menus:build intlhack. + + <literal>php</literal> + + Possible arguments: (none) + + Provide support for PHP. See + for more information. + + <literal>pkgconfig</literal>