Ignore:
Timestamp:
10/26/2014 05:38:54 PM (10 years ago)
Author:
Krejzi <krejzi@…>
Branches:
krejzi/svn
Children:
52e5650b
Parents:
4968434
Message:

Improvements, updates, additions to Programming section.

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

File:
1 moved

Legend:

Unmodified
Added
Removed
  • general/prog/php-systemd.xml

    r4968434 rd5169f16  
    55  %general-entities;
    66
    7   <!ENTITY php-download-http "http://us2.php.net/distributions/php-&php-version;.tar.xz">
     7  <!ENTITY php-download-http "http://www.php.net/distributions/php-&php-version;.tar.xz">
    88  <!ENTITY php-download-ftp  "ftp://ftp.isu.edu.tw/pub/Unix/Web/PHP/distributions/php-&php-version;.tar.xz">
    99  <!ENTITY php-md5sum        "c976f54d429a0e5214659b0098e44e37">
    1010  <!ENTITY php-size          "11 MB">
    11   <!ENTITY php-buildsize     "376 MB (additional 2 MB to run the test suite and 102 MB for documentation)">
    12   <!ENTITY php-time          "4 SBU (additional 2.5 SBU to run the test suite)">
     11  <!ENTITY php-buildsize     "378 MB">
     12  <!ENTITY php-time          "4.0 SBU">
    1313]>
    1414
     
    176176    running the following commands:</para>
    177177
    178 <screen><userinput>./configure --prefix=/usr                \
     178<screen><userinput>sed -i "s|lsystemd-daemon|lsystemd|g" configure &amp;&amp;
     179
     180./configure --prefix=/usr                \
    179181            --sysconfdir=/etc            \
    180182            --localstatedir=/var         \
     
    184186            --with-fpm-user=apache       \
    185187            --with-fpm-group=apache      \
     188            --with-fpm-systemd           \
    186189            --with-config-file-path=/etc \
    187190            --with-zlib                  \
     
    244247      <title>Command Explanations</title>
    245248
     249      <para><command>sed -i "s|lsystemd-daemon|lsystemd|g" configure</command>:
     250      This command fixes the detection of the systemd library.</para>
     251
    246252      <para><parameter>--with-datadir=/usr/share/php</parameter>: This works
    247253      around a bug in the build machinery, which installs some data to a
     
    249255
    250256      <para><parameter>--enable-fpm</parameter>: This parameter allows
    251       building the fastCGI Process Manager.</para>
     257      building the FastCGI Process Manager.</para>
     258
     259      <para><parameter>--with-fpm-systemd</parameter>: This parameter allows
     260      the FastCGI Process Manager to integrate with systemd.</para>
    252261
    253262      <para><parameter>--with-config-file-path=/etc</parameter>: This parameter
    254263      makes <application>PHP</application> look for the
    255264      <filename>php.ini</filename> configuration file in
    256       <filename class='directory'>/etc</filename>.</para>
     265      <filename class="directory">/etc</filename>.</para>
    257266
    258267      <para><parameter>--with-zlib</parameter>: This parameter adds
     
    378387
    379388    <sect3  id="php-init">
    380       <title>Boot Script</title>
     389      <title>Systemd Units</title>
    381390
    382391      <para>
    383         To automatically start the <command>php-fpm</command> daemon when the
    384         system is rebooted, install the
    385         <filename>/etc/rc.d/init.d/php</filename> bootscript from the
    386         <xref linkend="bootscripts"/> package as the
     392        To start the <command>php-fpm</command> daemon at boot,
     393        install the systemd unit from the <xref linkend="bootscripts"/>
     394        package by running the following command as the
    387395        <systemitem class="username">root</systemitem> user:
    388396      </para>
    389397
    390398      <indexterm zone="php php-init">
    391         <primary sortas="f-php">php</primary>
     399        <primary sortas="f-php-fpm">php-fpm</primary>
    392400      </indexterm>
    393401
    394 <screen role="root"><userinput>make install-php</userinput></screen>
     402<screen role="root"><userinput>make install-php-fpm</userinput></screen>
    395403    </sect3>
    396404
     
    408416        <seg>pear, peardev, pecl, phar (symlink), phar.phar,
    409417        php, php-cgi, php-config, php-fpm, and phpize</seg>
    410         <seg>dba.{so,a} and opcache.{so,a} at
    411        /usr/lib/php/extensions/no-debug-non-zts-20131226/</seg>
     418        <seg>None</seg>
    412419        <seg>/usr/include/php, /usr/lib/php, /usr/share/php and
    413420        /usr/share/doc/php-&php-version;</seg>
Note: See TracChangeset for help on using the changeset viewer.