mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-04 07:17:15 +08:00
Fix installation of default configuration files, and add some explanation
of their use, in php git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@18505 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
f0b7794a4f
commit
355b8a95b4
@ -278,6 +278,7 @@ make</userinput></screen>
|
||||
|
||||
<screen role="root"><userinput>make install &&
|
||||
install -v -m644 php.ini-production /etc/php.ini &&
|
||||
mv -v /etc/php-fpm.conf{.default,} &&
|
||||
mv -v /etc/php-fpm.d/www.conf{.default,} &&
|
||||
|
||||
install -v -m755 -d /usr/share/doc/php-&php-version; &&
|
||||
@ -464,16 +465,6 @@ gunzip -v /usr/share/doc/php-&php-version;/php_manual_en.html.gz</userinput></sc
|
||||
<sect3>
|
||||
<title>Configuration Information</title>
|
||||
|
||||
<para>
|
||||
Without the file <filename>/etc/php-fpm.d/www.conf</filename>,
|
||||
the process manager does not start. However, it is the file
|
||||
<filename>/etc/php-fpm.d/www.conf.default</filename>, that is
|
||||
installed. To solve this, issue as the
|
||||
<systemitem class="username">root</systemitem> user:
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>cp -v /etc/php-fpm.d/www.conf.default /etc/php-fpm.d/www.conf</userinput></screen>
|
||||
|
||||
<para>
|
||||
The file used as the default <filename>/etc/php.ini</filename>
|
||||
configuration file is recommended by the <application>PHP</application>
|
||||
@ -484,6 +475,15 @@ gunzip -v /usr/share/doc/php-&php-version;/php_manual_en.html.gz</userinput></sc
|
||||
in your particular environment.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
The fastCGI process manager uses the configuration file
|
||||
<filename>/etc/php-fpm.conf</filename>. The default file shipped with
|
||||
PHP includes all the <filename>/etc/php-fpm.d/*.conf</filename> in turn.
|
||||
There is a shipped <filename>/etc/php-fpm.d/www.conf</filename> file,
|
||||
that contains the parameters related to the interaction with the Apache
|
||||
Web server.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
You may have noticed the following from the output of the
|
||||
<command>make install</command> command:
|
||||
|
Loading…
Reference in New Issue
Block a user