Ignore:
Timestamp:
01/27/2016 11:21:15 PM (8 years ago)
Author:
DJ Lucas <dj@…>
Branches:
systemd-13485
Children:
1e76622
Parents:
a7e1ac8
Message:

Merge Chapter 13 from trunk.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16861 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/prog/php.xml

    ra7e1ac8 r2037ec4  
    66
    77  <!ENTITY php-download-http "http://www.php.net/distributions/php-&php-version;.tar.xz">
    8   <!ENTITY php-download-ftp  "ftp://ftp.isu.edu.tw/pub/Unix/Web/PHP/distributions/php-&php-version;.tar.xz">
    9   <!ENTITY php-md5sum        "f2cc602602eb2b121779f2c4b8bacaba">
    10   <!ENTITY php-size          "12 MB">
    11   <!ENTITY php-buildsize     "394 MB (with tests)">
    12   <!ENTITY php-time          "5.6 SBU (with tests)">
     8  <!--<!ENTITY php-download-ftp  "ftp://ftp.isu.edu.tw/pub/Unix/Web/PHP/distributions/php-&php-version;.tar.xz">-->
     9  <!ENTITY php-download-ftp  " ">
     10  <!ENTITY php-md5sum        "ce5964672e4ec0b66ff088a6bafde8c7">
     11  <!ENTITY php-size          "11 MB">
     12  <!ENTITY php-buildsize     "564 MB (with the tests). Documentation adds 106 MB">
     13  <!ENTITY php-time          "6.3 SBU (with the tests)">
    1314]>
    1415
     
    9697      <xref linkend="enchant"/>,
    9798      <xref linkend="libxslt"/>,
     99      an <xref linkend="server-mail"/> (that provides a
     100      <command>sendmail</command> command),
    98101      <xref linkend="pcre"/>,
    99102      <xref linkend="pth"/>,
    100       an <xref linkend="server-mail"/> (that provides a
    101       <command>sendmail</command> command)
    102103      <ulink url="http://dmalloc.com/">Dmalloc</ulink>,
    103104      <ulink url="http://www.net-snmp.org/">Net-SNMP</ulink>,
    104105      <ulink url="http://www.ossp.org/pkg/lib/mm/">OSSP mm</ulink>,
    105       <ulink url="http://re2c.org/">re2c</ulink>,
    106       <ulink url="http://xmlrpc-epi.sourceforge.net/main.php?t=php_about">XMLRPC-EPI</ulink>, and
     106      <ulink url="http://re2c.org/">re2c</ulink>, and
     107      <ulink url="http://xmlrpc-epi.sourceforge.net/main.php?t=php_about">XMLRPC-EPI</ulink>
    107108    </para>
    108109
     
    140141      <xref linkend="sqlite"/>,
    141142      <xref linkend="unixodbc"/>,
    142       <ulink url="http://www.softwareag.com/">Abadas</ulink>,
     143      <ulink url="http://www.softwareag.com/">Adabas</ulink>,
    143144      <ulink url="http://www.birdstep.com/">Birdstep</ulink>,
    144145      <ulink url="http://cr.yp.to/cdb.html">cdb</ulink>,
     
    160161    <bridgehead renderas="sect4">Optional Security/Encryption Utilities and Libraries</bridgehead>
    161162    <para role="optional">
     163      <xref linkend="openssl"/>,
    162164      <xref linkend="cyrus-sasl"/>,
    163165      <xref linkend="mitkrb"/>,
    164       <xref linkend="openssl"/>,
    165166      <ulink url="http://mcrypt.sourceforge.net/">libmcrypt</ulink>, and
    166167      <ulink url="http://mhash.sourceforge.net/">mhash</ulink>
     
    251252mv -v /etc/php-fpm.conf{.default,}                   &amp;&amp;
    252253
    253 install -v -dm755 /usr/share/doc/php-&php-version; &amp;&amp;
    254 install -v -m644  CODING_STANDARDS EXTENSIONS INSTALL NEWS README* UPGRADING* php.gif \
    255                   /usr/share/doc/php-&php-version; &amp;&amp;
    256 ln -sfv           /usr/lib/php/doc/Archive_Tar/docs/Archive_Tar.txt \
    257                   /usr/share/doc/php-&php-version; &amp;&amp;
    258 ln -sfv           /usr/lib/php/doc/Structures_Graph/docs \
    259                   /usr/share/doc/php-&php-version;</userinput></screen>
     254install -v -m755 -d /usr/share/doc/php-&php-version; &amp;&amp;
     255install -v -m644    CODING_STANDARDS EXTENSIONS INSTALL NEWS README* UPGRADING* php.gif \
     256                    /usr/share/doc/php-&php-version; &amp;&amp;
     257ln -v -sfn          /usr/lib/php/doc/Archive_Tar/docs/Archive_Tar.txt \
     258                    /usr/share/doc/php-&php-version; &amp;&amp;
     259ln -v -sfn          /usr/lib/php/doc/Structures_Graph/docs \
     260                    /usr/share/doc/php-&php-version;</userinput></screen>
    260261
    261262    <para>
     
    364365
    365366      <para>
    366         <option>--with-mysql</option>: This option
    367         includes <application>MariaDB/MySQL</application> support.
    368       </para>
    369 
    370       <para>
    371367        <option>--disable-libxml</option>: This option
    372368        allows building PHP without <application>libxml2</application>
     
    383379      </para>
    384380
     381      <para>
     382        <option>--with-mysqli=/usr/bin/mysql_config</option>: This option
     383        includes MySQLi support.
     384      </para>
     385
     386      <para>
     387        <option>--with-mysql-sock=/run/mysqld/mysqld.sock</option>: Location of
     388        the MySQL unix socket pointer.
     389      </para>
     390
     391      <para>
     392        <option>--with-pdo-mysql=/usr</option>: This option includes PDO: MySQL
     393        support.
     394      </para>
     395
    385396  </sect2>
    386397
     
    393404      <para>
    394405        <filename>/etc/php.ini</filename>,
    395         <filename>/etc/pear.conf</filename>, and
    396         <filename>/etc/php-fpm.conf</filename>
     406        <filename>/etc/pear.conf</filename>,
     407        <filename>/etc/php-fpm.conf</filename>, and
     408        <filename>/etc/php-fpm.d/www.conf</filename>
    397409      </para>
    398410
     
    406418
    407419      <indexterm zone="php php-config">
     420        <primary sortas="e-etc-php-fpm.d-www.conf">
     421        /etc/php-fpm.d/www.conf</primary>
     422      </indexterm>
     423
     424      <indexterm zone="php php-config">
    408425        <primary sortas="e-etc-php-fpm.conf">/etc/php-fpm.conf</primary>
    409426      </indexterm>
     
    413430    <sect3>
    414431      <title>Configuration Information</title>
     432
     433      <para>
     434       Without the file <filename>/etc/php-fpm.d/www.conf</filename>,
     435       the process manager does not start. However, it is the file
     436       <filename>/etc/php-fpm.d/www.conf.default</filename>, that is
     437       installed. To solve this, issue as the
     438       <systemitem class="username">root</systemitem> user:
     439      </para>
     440
     441<screen role="root"><userinput>cp -v /etc/php-fpm.d/www.conf.default /etc/php-fpm.d/www.conf</userinput></screen>
    415442
    416443      <para>
     
    447474      </para>
    448475
    449 <screen role="root"><userinput>sed -e '/proxy_module/s/^#//'      \
    450     -e '/proxy_fcgi_module/s/^#//' \
    451     -i  /etc/httpd/httpd.conf</userinput></screen>
     476<screen role="root"><userinput>sed -i -e '/proxy_module/s/^#//'      \
     477       -e '/proxy_fcgi_module/s/^#//' \
     478       /etc/httpd/httpd.conf</userinput></screen>
    452479
    453480      <para>
     
    457484      </para>
    458485
    459 <screen role="root"><userinput>echo 'ProxyPassMatch ^/(.*\.php)$ fcgi://127.0.0.1:9000/srv/www/$1' &gt;&gt; \
    460      /etc/httpd/httpd.conf</userinput></screen>
     486<screen role="root"><userinput>echo \
     487'ProxyPassMatch ^/(.*\.php)$ fcgi://127.0.0.1:9000/srv/www/$1' >> \
     488/etc/httpd/httpd.conf</userinput></screen>
    461489
    462490      <para>
     
    507535
    508536      <seglistitem>
    509         <seg>pear, peardev, pecl, phar (symlink), phar.phar,
    510         php, php-cgi, php-config, php-fpm, and phpize</seg>
    511         <seg>None</seg>
    512         <seg>/usr/include/php, /usr/lib/php, /usr/share/php and
     537        <seg>pear, peardev, pecl, phar (symlink), phar.phar, php,
     538        php-cgi, php-config, php-fpm, phpdbg, and phpize</seg>
     539        <seg>dba.{so,a} and opcache.{so,a} at
     540       /usr/lib/php/extensions/no-debug-non-zts-20151012</seg>
     541        <seg>/etc/php-fpm.d, /usr/{include,lib,share}/php and
    513542        /usr/share/doc/php-&php-version;</seg>
    514543      </seglistitem>
     
    558587      </varlistentry>
    559588
     589      <varlistentry id="phpdbg">
     590        <term><command>phpdbg</command></term>
     591        <listitem>
     592          <para>
     593            is the interactive PHP debugger.
     594          </para>
     595          <indexterm zone="php phpdbg">
     596            <primary sortas="b-phpdbg">phpdbg</primary>
     597          </indexterm>
     598        </listitem>
     599      </varlistentry>
     600
    560601    </variablelist>
    561602
Note: See TracChangeset for help on using the changeset viewer.