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
That is about all the configuration you need for PHP. Now, emerge!
=20 -+=20 -Then emerge lighttpd -emerge -av php=20 @@ -133,8 +135,9 @@ phpinfo(); www-server/lighttpd php
+Then emerge lighttpd
+ +emerge -av lighttpd=20 @@ -147,14 +150,18 @@ Then emerge lighttpd =20Installing 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 uEdit
=20 -/etc/lighttpd/mod_fastcgi.conf so that it looks som= ething like this:+server.modules +=3D ("mod_fastcgi") fastcgi.server =3D ( ".php" =3D> ( "localhost" =3D> @@ -263,7 +270,7 @@ like this: =20Now 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