cvs: phpdoc /en/install/unix lighttpd-14.xml
| From: | Alexander Songe | Date: | Sat, 12 Apr 2008 00:46:57 +0000 |
| Subject: | cvs: phpdoc /en/install/unix lighttpd-14.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-1479@lists.php.net to get a copy of this message | ||
asonge Sat Apr 12 00:46:57 2008 UTC
Modified files:
/phpdoc/en/install/unix lighttpd-14.xml
Log:
WS fix
http://cvs.php.net/viewvc.cgi/phpdoc/en/install/unix/lighttpd-14.xml?r1=1.2&r2=1.3&diff_format=u
Index: phpdoc/en/install/unix/lighttpd-14.xml
diff -u phpdoc/en/install/unix/lighttpd-14.xml:1.2 phpdoc/en/install/unix/lighttpd-14.xml:1.3
--- phpdoc/en/install/unix/lighttpd-14.xml:1.2 Fri Apr 11 20:45:52 2008
+++ phpdoc/en/install/unix/lighttpd-14.xml Sat Apr 12 00:46:57 2008
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<sect1 xml:id="install.unix.lighttpd-14" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Lighttpd 1.4 on Unix systems</title>
+
<para>
This section contains notes and hints specific to Lighttpd 1.4 installs
of PHP on Unix systems.
@@ -22,15 +23,15 @@
<sect2 xml:id="install.unix.lighttpd-14.lighttpd-spawn">
<title>Letting Lighttpd spawn php processes</title>
+
<para>
To configure Lighttpd to connect to php and spawn fastcgi processes, edit
lighttpd.conf. Sockets are preferred to connect to fastcgi processes on
the local system.
</para>
+
<example>
- <title>
- Partial lighttpd.conf
- </title>
+ <title>Partial lighttpd.conf</title>
<screen>
<![CDATA[
server.modules += ( "mod_fastcgi" )
@@ -52,6 +53,7 @@
</screen>
</example>
+
<para>
The bin-path directive allows lighttpd to spawn fastcgi processes dynamically.
PHP will spawn children according to the PHP_FCGI_CHILDREN environment
@@ -67,8 +69,8 @@
</sect2>
<sect2 xml:id="install.unix.lighttpd-14.spawn-fcgi">
- <title>Spawning with spawn-fcgi</title>
-
+ <title>Spawning with spawn-fcgi</title>
+
<para>
Lighttpd provides a program called spawn-fcgi to ease the process of
spawning fastcgi processes easier.
@@ -77,7 +79,7 @@
<sect2 xml:id="install.unix.lighttpd-14.spawn-php">
<title>Spawning php-cgi</title>
-
+
<para>
It is possible to spawn processes without spawn-fcgi, though a bit of
heavy-lifting is required. Setting the PHP_FCGI_CHILDREN environment var
@@ -88,7 +90,6 @@
<example>
<title>Spawning FastCGI Responders</title>
-
<screen>
<![CDATA[
#!/bin/sh
@@ -117,18 +118,17 @@
</screen>
</example>
</sect2>
+
<sect2 xml:id="install.unix.lighttpd-14.remote-fcgi">
<title>Connecting to remote FCGI instances</title>
-
+
<para>
Fastcgi instances can be spawned on multiple remote machines in order to
scale applications.
</para>
<example>
- <title>
- Connecting to remote php-fastcgi instances
- </title>
+ <title>Connecting to remote php-fastcgi instances</title>
<screen>
<![CDATA[
fastcgi.server = ( ".php" =>