source: general/prog/php.xml@ b112f043

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since b112f043 was e948752, checked in by Bruce Dubbs <bdubbs@…>, 17 months ago

Update to php-8.2.1.

  • Property mode set to 100644
File size: 26.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY php-download-http "https://www.php.net/distributions/php-&php-version;.tar.xz">
8 <!ENTITY php-download-ftp " ">
9 <!ENTITY php-md5sum "b30961d64b35fe4c6727ee3add54d16e">
10 <!ENTITY php-size "11 MB">
11 <!ENTITY php-buildsize "497 MB (with documentation)">
12 <!ENTITY php-time "1.7 SBU (with parallelism=4; add 1.7 SBU for tests)">
13 <!-- Tests were run for 8.0.1 at -j4, had two timeouts as well.
14 Results were otherwise normal though, so I'm unsure of what caused the
15 increase in time. -renodr
16 No timeout for 8.0.2. Tests run at -j4 too. -pierre
17 No timeouts on 8.0.3 for me this time. -renodr
18 No timeouts on 8.0.5 -bdubbs
19 No timeouts, one failure on 8.0.9 -bdubbs
20 No timeouts on 8.0.10 - thomas
21 No timeouts on 8.0.11 - thomas
22
23TEST RESULT SUMMARY 8.1.0
24
25Exts skipped : 36
26Exts tested : 36
27
28Number of tests : 17060 12551
29Tests skipped : 4509 ( 26.4%)
30Tests warned : 2 ( 0.0%) ( 0.0%)
31Tests failed : 4 ( 0.0%) ( 0.0%)
32Expected fail : 28 ( 0.2%) ( 0.2%)
33Tests passed : 12517 ( 73.4%) ( 99.7%)
34
35Time taken : 165 seconds
36
37Stats for tests changed slightly for 8.1.1, but not significantly.
38Stats for tests changed slightly for 8.1.2, but not significantly.
39 Tests failed : 1
40For 8.1.4, ran tests at -j4. One test still fails.
41For 8.1.5, ran tests at -j4. One test still fails.
42
43Running tests at -j4 does nothing. The jobs cound is not passed to the
44actual routine running the tests.
45
46For 8.1.7:
47Number of tests : 17250 12714
48Tests skipped : 4536 ( 26.3%)
49Tests warned : 2 ( 0.0%) ( 0.0%)
50Tests failed : 1 ( 0.0%) ( 0.0%)
51Expected fail : 27 ( 0.2%) ( 0.2%)
52Tests passed : 12684 ( 73.5%) ( 99.8%)
53
54Time taken : 162 seconds
55
56The warnings are really XFAIL. The FAIL is ext/phar/tests/bug69958.phpt.
57It appears to be mission a test file.
58
59For 8.1.10:
60Number of tests : 17315 12768
61Tests skipped : 4547 ( 26.3%) - - - - - - - -
62Tests warned : 2 ( 0.0%) ( 0.0%)
63Tests failed : 5 ( 0.0%) ( 0.0%)
64Expected fail : 27 ( 0.2%) ( 0.2%)
65Tests passed : 12734 ( 73.5%) ( 99.7%)
66
67Time taken : 162 seconds
68
69For 8.2.0:
70Number of tests : 17768 13167
71Tests skipped : 4601 ( 25.9%) - - - - - - - -
72Tests warned : 3 ( 0.0%) ( 0.0%)
73Tests failed : 1 ( 0.0%) ( 0.0%)
74Expected fail : 25 ( 0.1%) ( 0.2%)
75Tests passed : 13138 ( 73.9%) ( 99.8%)
76
77Time taken : 166 seconds
78-->
79]>
80
81<sect1 id="php" xreflabel="PHP-&php-version;">
82 <?dbhtml filename="php.html"?>
83
84
85 <title>PHP-&php-version;</title>
86
87 <indexterm zone="php">
88 <primary sortas="a-PHP">PHP</primary>
89 </indexterm>
90
91 <sect2 role="package">
92 <title>Introduction to PHP</title>
93
94 <para>
95 <application>PHP</application> is the PHP Hypertext Preprocessor.
96 Primarily used in dynamic web sites, it allows for programming code to be
97 directly embedded into the HTML markup. It is also useful as a
98 general purpose scripting language.
99 </para>
100
101 &lfs112_checked;
102
103 <bridgehead renderas="sect3">Package Information</bridgehead>
104 <itemizedlist spacing="compact">
105 <listitem>
106 <para>
107 Download (HTTP): <ulink url="&php-download-http;"/>
108 </para>
109 </listitem>
110 <listitem>
111 <para>
112 Download (FTP): <ulink url="&php-download-ftp;"/>
113 </para>
114 </listitem>
115 <listitem>
116 <para>
117 Download MD5 sum: &php-md5sum;
118 </para>
119 </listitem>
120 <listitem>
121 <para>
122 Download size: &php-size;
123 </para>
124 </listitem>
125 <listitem>
126 <para>
127 Estimated disk space required: &php-buildsize;
128 </para>
129 </listitem>
130 <listitem>
131 <para>
132 Estimated build time: &php-time;
133 </para>
134 </listitem>
135 </itemizedlist>
136
137 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
138 <itemizedlist spacing="compact">
139 <listitem>
140 <para>
141 Optional pre-built documentation (single file html): <ulink
142 url="https://www.php.net/distributions/manual/php_manual_en.html.gz"/>
143 </para>
144 </listitem>
145 <listitem>
146 <para>
147 Optional pre-built documentation (chunked html): <ulink
148 url="https://www.php.net/distributions/manual/php_manual_en.tar.gz"/>.
149 Note that the documentation can be found in languages other than
150 English at <ulink url="https://www.php.net/download-docs.php"/>
151 </para>
152 </listitem>
153 </itemizedlist>
154
155 <bridgehead renderas="sect3">PHP Dependencies</bridgehead>
156
157 <bridgehead renderas="sect4">Recommended</bridgehead>
158 <para role="recommended">
159 <xref linkend="apache"/> and
160 <xref linkend="libxml2"/>
161 </para>
162
163 <bridgehead renderas="sect4">Optional System Utilities and Libraries</bridgehead>
164 <para role="optional">
165 <xref linkend="aspell"/>,
166 <xref linkend="enchant"/>,
167 <xref linkend="libxslt"/>,
168 an <xref linkend="server-mail"/> (that provides a
169 <command>sendmail</command> command),
170 <xref linkend="pcre2"/>,
171 <xref linkend="pth"/>,
172 <ulink url="https://wiki.ubuntu.com/AppArmor">AppArmor</ulink>,
173 <ulink url="https://dmalloc.com/">Dmalloc</ulink>,
174 <ulink url="http://www.net-snmp.org/">Net-SNMP</ulink>,
175 <ulink url="https://github.com/kkos/oniguruma">oniguruma</ulink>,
176 <ulink url="http://www.ossp.org/pkg/lib/mm/">OSSP mm</ulink>,
177 <ulink url="https://re2c.org/">re2c</ulink>, and
178 <ulink url="http://xmlrpc-epi.sourceforge.net/main.php?t=php_about">XMLRPC-EPI</ulink>
179 </para>
180
181 <bridgehead renderas="sect4">Optional Graphics Utilities and Libraries</bridgehead>
182 <para role="optional">
183 <xref linkend="freetype2"/>,
184 <xref linkend="libexif"/>,
185 <xref linkend="libjpeg"/>,
186 <xref linkend="libpng"/>,
187 <xref linkend="libtiff"/>,
188 <xref linkend="libwebp"/>,
189 <xref linkend="x-window-system"/>,
190 <!--<ulink url="http://www.fastio.com/">ClibPDF</ulink>, - site asks for username/password-->
191 <ulink url="https://opensource.adobe.com/dc-acrobat-sdk-docs/acrobatsdk/">FDF Toolkit</ulink>,
192 <ulink url="https://github.com/libgd/libgd">GD</ulink>, and
193 <ulink url="https://www.t1lib.org/">t1lib</ulink>
194 </para>
195
196 <bridgehead renderas="sect4">Optional Web Utilities</bridgehead>
197 <para role="optional">
198 <xref linkend="curl"/>,
199 <xref linkend="tidy-html5"/>,
200 <ulink url="https://sourceforge.net/projects/caudium/">Caudium</ulink>,
201 <ulink url="https://www.hyperwave.com/en/">Hyperwave</ulink>,
202 <ulink url="http://www.mnogosearch.org/">mnoGoSearch</ulink>,
203 <ulink url="https://download.roxen.com/6.1/">Roxen WebServer</ulink>, and
204 <ulink url="https://github.com/Bilal-S/WDDX.net">WDDX</ulink>
205 </para>
206
207 <bridgehead renderas="sect4">Optional Data Management Utilities and Libraries</bridgehead>
208 <para role="optional">
209 <xref linkend="db"/> (Note that PHP does not officially support versions
210 above 5.3),
211 <xref linkend="libiodbc"/>,
212 <xref linkend="lmdb"/>,
213 <xref linkend="mariadb"/> or <ulink url="https://www.mysql.com/">MySQL</ulink>,
214 <xref linkend="openldap"/>,
215 <xref linkend="postgresql"/>,
216 <xref linkend="sqlite"/>,
217 <xref linkend="unixodbc"/>,
218 <ulink url="https://www.softwareag.com/en_corporate/platform/adabas-natural.html">Adabas</ulink>,
219 <ulink url="https://raima.com/raima-database-manager/">Birdstep</ulink>,
220 <ulink url="https://cr.yp.to/cdb.html">cdb</ulink>,
221 <ulink url="https://www.dbmaker.com/">DBMaker</ulink>,
222 <ulink url="http://www.empress.com/">Empress</ulink>,
223 <ulink url="http://www.frontbase.com/cgi-bin/WebObjects/FBWebSite">FrontBase</ulink>,
224 <ulink url="https://www.ibm.com/analytics/us/en/db2/">IBM DB2</ulink>,
225 <ulink url="https://hughestech.com.au/products/msql/">Mini SQL</ulink>,
226 <ulink url="https://www.monetra.com/">Monetra</ulink>, and
227 <ulink url="https://sourceforge.net/projects/qdbm">QDBM</ulink>
228 </para>
229
230 <para>
231 <application>PHP</application> also provides support for many
232 commercial database tools such as <application>Oracle</application>,
233 <application>SAP</application> and
234 <application>ODBC Router</application>.
235 </para>
236
237 <bridgehead renderas="sect4">Optional Security/Encryption Utilities and Libraries</bridgehead>
238 <para role="optional">
239 <xref linkend="cyrus-sasl"/>,
240 <xref linkend="mitkrb"/>,
241 <ulink url="http://mcrypt.sourceforge.net/">libmcrypt</ulink>, and
242 <ulink url="http://mhash.sourceforge.net/">mhash</ulink>
243 </para>
244
245 <para condition="html" role="usernotes">
246 User Notes: <ulink url="&blfs-wiki;/php"/>
247 </para>
248
249 </sect2>
250
251 <sect2 role="installation">
252 <title>Installation of PHP</title>
253
254 <para>
255 You can use <application>PHP</application> for server-side
256 scripting, command-line scripting or client-side GUI applications. This
257 book provides instructions for setting up <application>PHP</application>
258 for server-side scripting as it is the most common form.
259 </para>
260
261 <note>
262 <para>
263 <application>PHP</application> has many more
264 <command>configure</command> options that will enable support for
265 various things. You can use <command>./configure --help</command> to
266 see a full list of the available options. Also, use of the
267 <ulink url="https://www.php.net/">PHP web site</ulink>
268 is highly recommended, as their online docs are very good. An example
269 of a <command>configure</command> command that utilizes many of the
270 most common dependencies can be found at <ulink
271 url="&sources-anduin-http;/files/php_configure.txt"/>.
272 </para>
273
274 <para>
275 If, for whatever reason, you don't have <xref linkend="libxml2"/>
276 installed, you need to add <option>--disable-libxml</option> to the
277 <command>configure</command> command in the instructions below. Note
278 that this will prevent the <command>pear</command> command from being
279 built.
280 </para>
281 </note>
282
283 <para>
284 Install <application>PHP</application> by running the following commands:
285 </para>
286
287<screen revision="sysv"><userinput>./configure --prefix=/usr \
288 --sysconfdir=/etc \
289 --localstatedir=/var \
290 --datadir=/usr/share/php \
291 --mandir=/usr/share/man \
292 --without-pear \
293 --enable-fpm \
294 --with-fpm-user=apache \
295 --with-fpm-group=apache \
296 --with-config-file-path=/etc \
297 --with-zlib \
298 --enable-bcmath \
299 --with-bz2 \
300 --enable-calendar \
301 --enable-dba=shared \
302 --with-gdbm \
303 --with-gmp \
304 --enable-ftp \
305 --with-gettext \
306 --enable-mbstring \
307 --disable-mbregex \
308 --with-readline &amp;&amp;
309make</userinput></screen>
310
311<screen revision="systemd"><userinput>./configure --prefix=/usr \
312 --sysconfdir=/etc \
313 --localstatedir=/var \
314 --datadir=/usr/share/php \
315 --mandir=/usr/share/man \
316 --enable-fpm \
317 --without-pear \
318 --with-fpm-user=apache \
319 --with-fpm-group=apache \
320 --with-fpm-systemd \
321 --with-config-file-path=/etc \
322 --with-zlib \
323 --enable-bcmath \
324 --with-bz2 \
325 --enable-calendar \
326 --enable-dba=shared \
327 --with-gdbm \
328 --with-gmp \
329 --enable-ftp \
330 --with-gettext \
331 --enable-mbstring \
332 --disable-mbregex \
333 --with-readline &amp;&amp;
334make</userinput></screen>
335 <para>
336 To test the results, issue: <command>make test</command>. Several
337 tests (out of over 16000) may fail, in which case you are asked
338 whether you want to send the report to the PHP developers. If you
339 want to automate the test, you may prefix the command with
340 <command>yes "n" | </command>.
341 </para>
342
343 <para>
344 Now, as the <systemitem class="username">root</systemitem> user:
345 </para>
346
347<!-- dev note: make INSTALL_ROOT=<DESTDIR> install -->
348
349<screen role="root"><userinput>make install &amp;&amp;
350install -v -m644 php.ini-production /etc/php.ini &amp;&amp;
351
352install -v -m755 -d /usr/share/doc/php-&php-version; &amp;&amp;
353install -v -m644 CODING_STANDARDS* EXTENSIONS NEWS README* UPGRADING* \
354 /usr/share/doc/php-&php-version;</userinput></screen>
355
356 <para>
357 The default configuration files for the fastCGI process manager are
358 installed only if they do not already exist on the system. If this is
359 the first installation, they should be renamed, as the
360 <systemitem class='username'>root</systemitem> user:
361 </para>
362
363<screen role="root"><userinput>if [ -f /etc/php-fpm.conf.default ]; then
364 mv -v /etc/php-fpm.conf{.default,} &amp;&amp;
365 mv -v /etc/php-fpm.d/www.conf{.default,}
366fi</userinput></screen>
367
368 <para>
369 The pre-built HTML documentation is packaged in two forms: a tarball
370 containing many individual files, useful for quick loading into your
371 browser, and one large individual file, which is useful for using the
372 search utility of your browser. If you downloaded either, or both, of the
373 documentation files, issue the following commands as the
374 <systemitem class='username'>root</systemitem> user to install them (note
375 these instructions assume English docs, modify the tarball names below if
376 necessary).
377 </para>
378
379 <para>
380 For the <quote>Single HTML</quote> file:
381 </para>
382
383<screen role="root"><userinput>install -v -m644 ../php_manual_en.html.gz \
384 /usr/share/doc/php-&php-version; &amp;&amp;
385gunzip -v /usr/share/doc/php-&php-version;/php_manual_en.html.gz</userinput></screen>
386
387 <para>
388 For the <quote>Many HTML files</quote> tarball:
389 </para>
390
391<screen role="root"><userinput>tar -xvf ../php_manual_en.tar.gz \
392 -C /usr/share/doc/php-&php-version; --no-same-owner</userinput></screen>
393
394 <para>
395 The bundled pear is not installed because of a bug which might
396 pollute the filesystem with several hidden files and directories.
397 If pear is needed, execute the following commands to install it:
398 </para>
399
400<screen role="nodump"><userinput>wget https://pear.php.net/go-pear.phar
401php ./go-pear.phar</userinput></screen>
402
403 </sect2>
404
405 <sect2 role="commands">
406 <title>Command Explanations</title>
407
408 <para>
409 <parameter>--datadir=/usr/share/php</parameter>: This works
410 around a bug in the build machinery, which installs some data to a
411 wrong location.
412 </para>
413
414 <para>
415 <parameter>--enable-fpm</parameter>: This parameter allows
416 building the fastCGI Process Manager.
417 </para>
418
419 <para revision="systemd">
420 <parameter>--with-fpm-systemd</parameter>: This parameter allows
421 the FastCGI Process Manager to integrate with systemd.
422 </para>
423
424 <para>
425 <parameter>--without-pear</parameter>: This switch disables
426 installation of bundled pear software.
427 </para>
428
429 <para>
430 <parameter>--with-config-file-path=/etc</parameter>: This parameter
431 makes <application>PHP</application> look for the
432 <filename>php.ini</filename> configuration file in
433 <filename class='directory'>/etc</filename>.
434 </para>
435
436 <para>
437 <parameter>--with-zlib</parameter>: This parameter adds
438 support for <application>Zlib</application> compression.
439 </para>
440
441 <para>
442 <parameter>--enable-bcmath</parameter>: Enables
443 <command>bc</command> style precision math functions.
444 </para>
445
446 <para>
447 <parameter>--with-bz2</parameter>: Adds support for
448 <application>Bzip2</application> compression functions.
449 </para>
450
451 <para>
452 <parameter>--enable-calendar</parameter>: This parameter
453 provides support for calendar conversion.
454 </para>
455
456 <para>
457 <parameter>--enable-dba=shared</parameter>: This parameter enables
458 support for database (dbm-style) abstraction layer functions.
459 </para>
460
461 <para>
462 <parameter>--enable-ftp</parameter>: This parameter
463 enables FTP functions.
464 </para>
465
466 <para>
467 <parameter>--with-gettext</parameter>: Enables functions
468 that use <application>Gettext</application> text translation.
469 </para>
470
471 <para>
472 <parameter>--enable-mbstring</parameter>: This parameter
473 enables multibyte string support.
474 </para>
475
476<!--
477 <para>
478 <parameter>- -disable-mbstring</parameter>: This parameter
479 disables multibyte string regular expression support. It
480 requires the external
481 <ulink url="https://github.com/kkos/oniguruma">oniguruma</ulink>
482 library.
483 </para>
484-->
485 <para>
486 <parameter>--with-readline</parameter>: This parameter
487 enables command line <application>Readline</application> support.
488 </para>
489
490 <para>
491 <option>--disable-libxml</option>: This option
492 allows building PHP without <application>libxml2</application>
493 installed.
494 </para>
495
496 <para>
497 <option>--with-apxs2</option>: Instead of building the fastCGI process
498 manager, it is possible to build an <application>apache</application>
499 module. This has some performance penalty for heavy loaded servers,
500 but may be easier to set up. This switch is incompatible with the
501 <parameter>--enable-fpm</parameter> and
502 <parameter>--with-fpm-...</parameter> switches.
503 </para>
504
505 <para>
506 <option>--with-mysqli=shared</option>: This option includes MySQLi
507 support.
508 </para>
509
510 <para>
511 <option>--with-mysql-sock=/run/mysqld/mysqld.sock</option>: Location of
512 the MySQL unix socket pointer.
513 </para>
514
515 <para>
516 <option>--with-pdo-mysql=shared</option>: This option includes PDO:
517 MySQL support.
518 </para>
519
520 <para>
521 <option>--with-tidy=shared</option>: This option includes tidy library
522 support.
523 </para>
524
525 </sect2>
526
527 <sect2 role="configuration">
528 <title>Configuring PHP</title>
529
530 <sect3 id="php-config">
531 <title>Config Files</title>
532
533 <para>
534 <filename>/etc/php.ini</filename>,
535 <filename>/etc/pear.conf</filename>,
536 <filename>/etc/php-fpm.conf</filename>, and
537 <filename>/etc/php-fpm.d/www.conf</filename>
538 </para>
539
540 <indexterm zone="php php-config">
541 <primary sortas="e-etc-php.ini">/etc/php.ini</primary>
542 </indexterm>
543
544 <indexterm zone="php php-config">
545 <primary sortas="e-etc-pear.conf">/etc/pear.conf</primary>
546 </indexterm>
547
548 <indexterm zone="php php-config">
549 <primary sortas="e-etc-php-fpm.d-www.conf">
550 /etc/php-fpm.d/www.conf</primary>
551 </indexterm>
552
553 <indexterm zone="php php-config">
554 <primary sortas="e-etc-php-fpm.conf">/etc/php-fpm.conf</primary>
555 </indexterm>
556
557 </sect3>
558
559 <sect3>
560 <title>Configuration Information</title>
561
562 <para>
563 The file used as the default <filename>/etc/php.ini</filename>
564 configuration file is recommended by the <application>PHP</application>
565 development team. This file modifies the default behavior of
566 <application>PHP</application>. If no <filename>/etc/php.ini</filename>
567 is used, all configuration settings fall to the defaults. You should
568 review the comments in this file and ensure the changes are acceptable
569 in your particular environment.
570 </para>
571
572 <para>
573 The fastCGI process manager uses the configuration file
574 <filename>/etc/php-fpm.conf</filename>. The default file shipped with
575 PHP includes all the <filename>/etc/php-fpm.d/*.conf</filename> in turn.
576 There is a shipped <filename>/etc/php-fpm.d/www.conf</filename> file,
577 that contains the parameters related to the interaction with the Apache
578 Web server.
579 </para>
580
581 <para>
582 You may have noticed the following from the output of the
583 <command>make install</command> command:
584 </para>
585
586<screen><computeroutput>You may want to add: /usr/lib/php to your php.ini include_path</computeroutput></screen>
587
588 <para>
589 If desired, add the entry using the following command as the
590 <systemitem class="username">root</systemitem> user:
591 </para>
592
593<screen role="root"><userinput>sed -i 's@php/includes"@&amp;\ninclude_path = ".:/usr/lib/php"@' \
594 /etc/php.ini</userinput></screen>
595
596 <para>
597 To enable fastCGI support in the <application>Apache</application>
598 web server, two LoadModule directives must be added to the
599 <filename>httpd.conf</filename> file. They are commented out, so just
600 issue the following command as
601 <systemitem class="username">root</systemitem> user:
602 </para>
603
604<screen role="root"><userinput>sed -i -e '/proxy_module/s/^#//' \
605 -e '/proxy_fcgi_module/s/^#//' \
606 /etc/httpd/httpd.conf</userinput></screen>
607
608 <para>
609 Those modules accept various <command>ProxyPass</command>
610 directives. One possibility is (as the
611 <systemitem class="username">root</systemitem> user):
612 </para>
613
614<screen role="root"><userinput>echo \
615'ProxyPassMatch ^/(.*\.php)$ fcgi://127.0.0.1:9000/srv/www/$1' >> \
616/etc/httpd/httpd.conf</userinput></screen>
617
618 <para>
619 Additionally, it may be useful to add an entry for
620 <filename>index.php</filename> to the DirectoryIndex directive of the
621 <filename>httpd.conf</filename> file. Lastly, adding a line to set up the
622 <filename class='extension'>.phps</filename> extension to show
623 highlighted <application>PHP</application> source may be
624 desirable:
625 </para>
626
627<screen><literal>AddType application/x-httpd-php-source .phps</literal></screen>
628
629 <para>
630 You'll need to restart the <application>Apache</application> web server
631 after making any modifications to the <filename>httpd.conf</filename>
632 file.
633 </para>
634
635 </sect3>
636
637 <sect3 id="php-init">
638 <title><phrase revision="sysv">Boot Script</phrase>
639 <phrase revision="systemd">Systemd Unit</phrase></title>
640
641 <para revision="sysv">
642 To automatically start the <command>php-fpm</command> daemon when the
643 system is rebooted, install the
644 <filename>/etc/rc.d/init.d/php</filename> bootscript from the
645 <xref linkend="bootscripts"/> package as the
646 <systemitem class="username">root</systemitem> user:
647 </para>
648
649 <para revision="systemd">
650 To start the <command>php-fpm</command> daemon at boot,
651 install the systemd unit from the <xref linkend="systemd-units"/>
652 package by running the following command as the
653 <systemitem class="username">root</systemitem> user:
654 </para>
655
656
657 <indexterm zone="php php-init">
658 <primary sortas="f-php">php</primary>
659 </indexterm>
660
661<screen role="root" revision="sysv"><userinput>make install-php</userinput></screen>
662
663<screen role="root" revision="systemd"><userinput>make install-php-fpm</userinput></screen>
664
665 </sect3>
666
667 </sect2>
668
669 <sect2 role="content">
670 <title>Contents</title>
671
672 <segmentedlist>
673 <segtitle>Installed Programs</segtitle>
674 <segtitle>Installed Libraries</segtitle>
675 <segtitle>Installed Directories</segtitle>
676
677 <seglistitem>
678 <seg><!-- not built anymore pear, peardev, pecl,-->
679 phar (symlink), phar.phar, php,
680 php-cgi, php-config, php-fpm, phpdbg, and phpize</seg>
681
682 <seg>dba.so and opcache.so in
683 /usr/lib/php/extensions/no-debug-non-zts-20210902</seg>
684
685 <seg>/etc/php-fpm.d, /usr/{include,lib,share}/php, and
686 /usr/share/doc/php-&php-version;</seg>
687 </seglistitem>
688 </segmentedlist>
689
690 <variablelist>
691 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
692 <?dbfo list-presentation="list"?>
693 <?dbhtml list-presentation="table"?>
694
695 <varlistentry id="php-prog">
696 <term><command>php</command></term>
697 <listitem>
698 <para>
699 is a command line interface that enables you to parse and
700 execute PHP code
701 </para>
702 <indexterm zone="php php-prog">
703 <primary sortas="b-php">php</primary>
704 </indexterm>
705 </listitem>
706 </varlistentry>
707
708 <varlistentry id="pear">
709 <term><command>pear</command></term>
710 <listitem>
711 <para>
712 is the PHP Extension and Application Repository (PEAR) package
713 manager. This isn't installed by default
714 </para>
715 <indexterm zone="php pear">
716 <primary sortas="b-pear">pear</primary>
717 </indexterm>
718 </listitem>
719 </varlistentry>
720
721 <varlistentry id="php-fpm">
722 <term><command>php-fpm</command></term>
723 <listitem>
724 <para>
725 is the fastCGI process manager for PHP
726 </para>
727 <indexterm zone="php php-fpm">
728 <primary sortas="b-php-fpm">php-fpm</primary>
729 </indexterm>
730 </listitem>
731 </varlistentry>
732
733 <varlistentry id="phpdbg">
734 <term><command>phpdbg</command></term>
735 <listitem>
736 <para>
737 is the interactive PHP debugger
738 </para>
739 <indexterm zone="php phpdbg">
740 <primary sortas="b-phpdbg">phpdbg</primary>
741 </indexterm>
742 </listitem>
743 </varlistentry>
744
745 </variablelist>
746
747 </sect2>
748
749</sect1>
Note: See TracBrowser for help on using the repository browser.