From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Poe8y-0007Hw-N8 for garchives@archives.gentoo.org; Sun, 13 Feb 2011 15:45:50 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A2120E05B9; Sun, 13 Feb 2011 15:45:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 57C49E05B9 for ; Sun, 13 Feb 2011 15:45:41 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A3D741B4085 for ; Sun, 13 Feb 2011 15:45:40 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 174C08006E for ; Sun, 13 Feb 2011 15:45:40 +0000 (UTC) From: "Ole Markus With" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ole Markus With" Message-ID: Subject: [gentoo-commits] proj/php:master commit in: docs/ X-VCS-Repository: proj/php X-VCS-Files: docs/index.xml docs/php-installing.xml docs/php-upgrading.xml X-VCS-Directories: docs/ X-VCS-Committer: ole_markus_with X-VCS-Committer-Name: Ole Markus With X-VCS-Revision: b6e8aa09c8e2386bda0b1ac15888e71c4f01f871 Date: Sun, 13 Feb 2011 15:45:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 310ea377e96048fd0331e848a48c4b7c commit: b6e8aa09c8e2386bda0b1ac15888e71c4f01f871 Author: Ole Markus With sportradar com> AuthorDate: Sun Feb 13 15:45:33 2011 +0000 Commit: Ole Markus With olemarkus org> CommitDate: Sun Feb 13 15:45:33 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/php.git;a=3Dc= ommit;h=3Db6e8aa09 Various lint fixes --- docs/index.xml | 8 ++++---- docs/php-installing.xml | 21 +++++++++++++++------ docs/php-upgrading.xml | 2 +- 3 files changed, 20 insertions(+), 11 deletions(-) diff --git a/docs/index.xml b/docs/index.xml index 2eb3752..9537e92 100644 --- a/docs/index.xml +++ b/docs/index.xml @@ -37,10 +37,6 @@ Our goal is to ensure that Gentoo provides the best en= vironment possible for developing and running software written in PHP.

=20 - -mabi -olemarkus - @@ -69,6 +65,10 @@ developing and running software written in PHP. =20 + +mabi +olemarkus + Documentation: How to install PHP = on various servers using the most common SAPIs Documentation: Upgrading PHP diff --git a/docs/php-installing.xml b/docs/php-installing.xml index 97e1be6..539207e 100644 --- a/docs/php-installing.xml +++ b/docs/php-installing.xml @@ -1,6 +1,6 @@ - + =20 Installing PHP @@ -23,9 +23,11 @@ This document will guide you through installing PHP on= Gentoo Installing PHP FastCGI =20 +
Discouraged for PHP 5.3.3 and newer +
=20
Emerging PHP @@ -49,7 +51,7 @@ dev-lang/php cgi

That is about all the configuration you need for PHP. Now, emerge!

=20 -
+
 emerge -av php
 
=20 @@ -133,8 +135,9 @@ phpinfo(); www-server/lighttpd php
=20 -Then emerge lighttpd -
+

Then emerge lighttpd

+ +
 emerge -av lighttpd
 
=20 @@ -147,14 +150,18 @@ Then emerge lighttpd =20 Installing PHP FPM +
This is only available for PHP 5.3.3 and newer. The PHP herds cons= ider FPM as the recommended setup for PHP +

In PHP 5.3.3, PHP is shipped with support for the FPM SAPI. The FPM SAPI= is an=20 improved fcgi SAPI that allows for more advanced configuration than the original fcgi SAPI. One of the most useful features is process managemen= t, which=20 makes it very useful for lightweight webservers, such as www-servers/= nginx,=20 that does not handle process management of fcgi themselves.=20 +

+
Installing PHP @@ -193,7 +200,7 @@ However it does provide a good foundation for a confi= guration file that can be u

Edit /etc/lighttpd/mod_fastcgi.conf so that it looks som= ething like this:

=20 -
+
 server.modules +=3D ("mod_fastcgi")
 fastcgi.server =3D ( ".php" =3D>
   ( "localhost" =3D>
@@ -263,7 +270,7 @@ like this:
=20
 

Now just start the related services and you should have a working sit= e

=20 -
+
 /etc/init.d/nginx start
 /etc/init.d/php-fpm start
 
@@ -315,11 +322,13 @@ creating a new user for your web application.

Further reading +
  • PHP Up= grade guide - Offers more information about how to deal with multip= le instals of PHP and how to install extensions.
  • Concurrently running multiple versions of PHP= - A guide describing how to set up webservers to work with parallel inst= alls of PHP
+
diff --git a/docs/php-upgrading.xml b/docs/php-upgrading.xml index 20db4cc..a514f2b 100644 --- a/docs/php-upgrading.xml +++ b/docs/php-upgrading.xml @@ -1,6 +1,6 @@ - + =20 Upgrading PHP