Changeset d5169f16 for general/prog/php-systemd.xml
- Timestamp:
- 10/26/2014 05:38:54 PM (10 years ago)
- Branches:
- krejzi/svn
- Children:
- 52e5650b
- Parents:
- 4968434
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
general/prog/php-systemd.xml
r4968434 rd5169f16 5 5 %general-entities; 6 6 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"> 8 8 <!ENTITY php-download-ftp "ftp://ftp.isu.edu.tw/pub/Unix/Web/PHP/distributions/php-&php-version;.tar.xz"> 9 9 <!ENTITY php-md5sum "c976f54d429a0e5214659b0098e44e37"> 10 10 <!ENTITY php-size "11 MB"> 11 <!ENTITY php-buildsize "37 6 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"> 13 13 ]> 14 14 … … 176 176 running the following commands:</para> 177 177 178 <screen><userinput>./configure --prefix=/usr \ 178 <screen><userinput>sed -i "s|lsystemd-daemon|lsystemd|g" configure && 179 180 ./configure --prefix=/usr \ 179 181 --sysconfdir=/etc \ 180 182 --localstatedir=/var \ … … 184 186 --with-fpm-user=apache \ 185 187 --with-fpm-group=apache \ 188 --with-fpm-systemd \ 186 189 --with-config-file-path=/etc \ 187 190 --with-zlib \ … … 244 247 <title>Command Explanations</title> 245 248 249 <para><command>sed -i "s|lsystemd-daemon|lsystemd|g" configure</command>: 250 This command fixes the detection of the systemd library.</para> 251 246 252 <para><parameter>--with-datadir=/usr/share/php</parameter>: This works 247 253 around a bug in the build machinery, which installs some data to a … … 249 255 250 256 <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> 252 261 253 262 <para><parameter>--with-config-file-path=/etc</parameter>: This parameter 254 263 makes <application>PHP</application> look for the 255 264 <filename>php.ini</filename> configuration file in 256 <filename class= 'directory'>/etc</filename>.</para>265 <filename class="directory">/etc</filename>.</para> 257 266 258 267 <para><parameter>--with-zlib</parameter>: This parameter adds … … 378 387 379 388 <sect3 id="php-init"> 380 <title> Boot Script</title>389 <title>Systemd Units</title> 381 390 382 391 <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 387 395 <systemitem class="username">root</systemitem> user: 388 396 </para> 389 397 390 398 <indexterm zone="php php-init"> 391 <primary sortas="f-php ">php</primary>399 <primary sortas="f-php-fpm">php-fpm</primary> 392 400 </indexterm> 393 401 394 <screen role="root"><userinput>make install-php </userinput></screen>402 <screen role="root"><userinput>make install-php-fpm</userinput></screen> 395 403 </sect3> 396 404 … … 408 416 <seg>pear, peardev, pecl, phar (symlink), phar.phar, 409 417 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> 412 419 <seg>/usr/include/php, /usr/lib/php, /usr/share/php and 413 420 /usr/share/doc/php-&php-version;</seg>
Note:
See TracChangeset
for help on using the changeset viewer.