source: general/prog/php.xml@ 0916098

12.1 12.2 gimp3 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/for-12.3 xry111/llvm18 xry111/spidermonkey128
Last change on this file since 0916098 was dcd5a063, checked in by Bruce Dubbs <bdubbs@…>, 10 months ago

Archive Berkeley DB

  • Property mode set to 100644
File size: 26.0 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 "c9bbc14176554c82d35c51afcc27900f">
10 <!ENTITY php-size "11.5 MB">
11 <!ENTITY php-buildsize "506 MB (with documentation)">
12 <!ENTITY php-time "1.5 SBU (with parallelism=4; add 1.6 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 &lfs120_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="https://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="https://download.roxen.com/6.1/">Roxen WebServer</ulink>, and
203 <ulink url="https://github.com/Bilal-S/WDDX.net">WDDX</ulink>
204 </para>
205
206 <bridgehead renderas="sect4">Optional Data Management Utilities and Libraries</bridgehead>
207 <para role="optional">
208 <xref linkend="libiodbc"/>,
209 <xref linkend="lmdb"/>,
210 <xref linkend="mariadb"/> or <ulink url="https://www.mysql.com/">MySQL</ulink>,
211 <xref linkend="openldap"/>,
212 <xref linkend="postgresql"/>,
213 <xref linkend="sqlite"/>,
214 <xref linkend="unixodbc"/>,
215 &berkeley-db;
216 <ulink url="https://www.softwareag.com/en_corporate/platform/adabas-natural.html">Adabas</ulink>,
217 <ulink url="https://raima.com/product-overview/">Birdstep</ulink>,
218 <ulink url="https://cr.yp.to/cdb.html">cdb</ulink>,
219 <ulink url="https://www.dbmaker.com/">DBMaker</ulink>,
220 <ulink url="http://www.empress.com/">Empress</ulink>,
221 <ulink url="http://www.frontbase.com/cgi-bin/WebObjects/FBWebSite">FrontBase</ulink>,
222 <ulink url="https://www.ibm.com/analytics/us/en/db2/">IBM DB2</ulink>,
223 <ulink url="https://hughestech.com.au/products/msql/">Mini SQL</ulink>,
224 <ulink url="https://www.monetra.com/">Monetra</ulink>, and
225 <ulink url="https://sourceforge.net/projects/qdbm">QDBM</ulink>
226 </para>
227
228 <para>
229 <application>PHP</application> also provides support for many
230 commercial database tools such as <application>Oracle</application>,
231 <application>SAP</application> and
232 <application>ODBC Router</application>.
233 </para>
234
235 <bridgehead renderas="sect4">Optional Security/Encryption Utilities and Libraries</bridgehead>
236 <para role="optional">
237 <xref linkend="cyrus-sasl"/>,
238 <xref linkend="mitkrb"/>,
239 <ulink url="https://mcrypt.sourceforge.net/">libmcrypt</ulink>, and
240 <ulink url="https://mhash.sourceforge.net/">mhash</ulink>
241 </para>
242
243 <para condition="html" role="usernotes">
244 Editor Notes: <ulink url="&blfs-wiki;/php"/>
245 </para>
246
247 </sect2>
248
249 <sect2 role="installation">
250 <title>Installation of PHP</title>
251
252 <para>
253 You can use <application>PHP</application> for server-side
254 scripting, command-line scripting or client-side GUI applications. This
255 book provides instructions for setting up <application>PHP</application>
256 for server-side scripting as it is the most common form.
257 </para>
258
259 <note>
260 <para>
261 <application>PHP</application> has many more
262 <command>configure</command> options that will enable support for
263 various things. You can use <command>./configure --help</command> to
264 see a full list of the available options. Also, use of the
265 <ulink url="https://www.php.net/">PHP web site</ulink>
266 is highly recommended, as their online docs are very good. An example
267 of a <command>configure</command> command that utilizes many of the
268 most common dependencies can be found at <ulink
269 url="&sources-anduin-http;/files/php_configure.txt"/>.
270 </para>
271
272 <para>
273 If, for whatever reason, you don't have <xref linkend="libxml2"/>
274 installed, you need to add <option>--disable-libxml</option> to the
275 <command>configure</command> command in the instructions below. Note
276 that this will prevent the <command>pear</command> command from being
277 built.
278 </para>
279 </note>
280
281 <para>
282 Install <application>PHP</application> by running the following commands:
283 </para>
284
285<screen revision="sysv"><userinput>./configure --prefix=/usr \
286 --sysconfdir=/etc \
287 --localstatedir=/var \
288 --datadir=/usr/share/php \
289 --mandir=/usr/share/man \
290 --without-pear \
291 --enable-fpm \
292 --with-fpm-user=apache \
293 --with-fpm-group=apache \
294 --with-config-file-path=/etc \
295 --with-zlib \
296 --enable-bcmath \
297 --with-bz2 \
298 --enable-calendar \
299 --enable-dba=shared \
300 --with-gdbm \
301 --with-gmp \
302 --enable-ftp \
303 --with-gettext \
304 --enable-mbstring \
305 --disable-mbregex \
306 --with-readline &amp;&amp;
307make</userinput></screen>
308
309<screen revision="systemd"><userinput>./configure --prefix=/usr \
310 --sysconfdir=/etc \
311 --localstatedir=/var \
312 --datadir=/usr/share/php \
313 --mandir=/usr/share/man \
314 --enable-fpm \
315 --without-pear \
316 --with-fpm-user=apache \
317 --with-fpm-group=apache \
318 --with-fpm-systemd \
319 --with-config-file-path=/etc \
320 --with-zlib \
321 --enable-bcmath \
322 --with-bz2 \
323 --enable-calendar \
324 --enable-dba=shared \
325 --with-gdbm \
326 --with-gmp \
327 --enable-ftp \
328 --with-gettext \
329 --enable-mbstring \
330 --disable-mbregex \
331 --with-readline &amp;&amp;
332make</userinput></screen>
333 <para>
334 To test the results, issue: <command>make test</command>. Several
335 tests (out of over 16000) may fail, in which case you are asked
336 whether you want to send the report to the PHP developers. If you
337 want to automate the test, you may prefix the command with
338 <command>yes "n" | </command>.
339 </para>
340
341 <para>
342 Now, as the <systemitem class="username">root</systemitem> user:
343 </para>
344
345<!-- dev note: make INSTALL_ROOT=<DESTDIR> install -->
346
347<screen role="root"><userinput>make install &amp;&amp;
348install -v -m644 php.ini-production /etc/php.ini &amp;&amp;
349
350install -v -m755 -d /usr/share/doc/php-&php-version; &amp;&amp;
351install -v -m644 CODING_STANDARDS* EXTENSIONS NEWS README* UPGRADING* \
352 /usr/share/doc/php-&php-version;</userinput></screen>
353
354 <para>
355 The default configuration files for the fastCGI process manager are
356 installed only if they do not already exist on the system. If this is
357 the first installation, they should be renamed, as the
358 <systemitem class='username'>root</systemitem> user:
359 </para>
360
361<screen role="root"><userinput>if [ -f /etc/php-fpm.conf.default ]; then
362 mv -v /etc/php-fpm.conf{.default,} &amp;&amp;
363 mv -v /etc/php-fpm.d/www.conf{.default,}
364fi</userinput></screen>
365
366 <para>
367 The pre-built HTML documentation is packaged in two forms: a tarball
368 containing many individual files, useful for quick loading into your
369 browser, and one large individual file, which is useful for using the
370 search utility of your browser. If you downloaded either, or both, of the
371 documentation files, issue the following commands as the
372 <systemitem class='username'>root</systemitem> user to install them (note
373 these instructions assume English docs, modify the tarball names below if
374 necessary).
375 </para>
376
377 <para>
378 For the <quote>Single HTML</quote> file:
379 </para>
380
381<screen role="root"><userinput>install -v -m644 ../php_manual_en.html.gz \
382 /usr/share/doc/php-&php-version; &amp;&amp;
383gunzip -v /usr/share/doc/php-&php-version;/php_manual_en.html.gz</userinput></screen>
384
385 <para>
386 For the <quote>Many HTML files</quote> tarball:
387 </para>
388
389<screen role="root"><userinput>tar -xvf ../php_manual_en.tar.gz \
390 -C /usr/share/doc/php-&php-version; --no-same-owner</userinput></screen>
391
392 <para>
393 The bundled pear is not installed because of a bug which might
394 pollute the filesystem with several hidden files and directories.
395 If pear is needed, execute the following commands to install it:
396 </para>
397
398<screen role="nodump"><userinput>wget https://pear.php.net/go-pear.phar
399php ./go-pear.phar</userinput></screen>
400
401 </sect2>
402
403 <sect2 role="commands">
404 <title>Command Explanations</title>
405
406 <para>
407 <parameter>--datadir=/usr/share/php</parameter>: This works
408 around a bug in the build machinery, which installs some data to a
409 wrong location.
410 </para>
411
412 <para>
413 <parameter>--enable-fpm</parameter>: This parameter allows
414 building the fastCGI Process Manager.
415 </para>
416
417 <para revision="systemd">
418 <parameter>--with-fpm-systemd</parameter>: This parameter allows
419 the FastCGI Process Manager to integrate with systemd.
420 </para>
421
422 <para>
423 <parameter>--without-pear</parameter>: This switch disables
424 installation of bundled pear software.
425 </para>
426
427 <para>
428 <parameter>--with-config-file-path=/etc</parameter>: This parameter
429 makes <application>PHP</application> look for the
430 <filename>php.ini</filename> configuration file in
431 <filename class='directory'>/etc</filename>.
432 </para>
433
434 <para>
435 <parameter>--with-zlib</parameter>: This parameter adds
436 support for <application>Zlib</application> compression.
437 </para>
438
439 <para>
440 <parameter>--enable-bcmath</parameter>: Enables
441 <command>bc</command> style precision math functions.
442 </para>
443
444 <para>
445 <parameter>--with-bz2</parameter>: Adds support for
446 <application>Bzip2</application> compression functions.
447 </para>
448
449 <para>
450 <parameter>--enable-calendar</parameter>: This parameter
451 provides support for calendar conversion.
452 </para>
453
454 <para>
455 <parameter>--enable-dba=shared</parameter>: This parameter enables
456 support for database (dbm-style) abstraction layer functions.
457 </para>
458
459 <para>
460 <parameter>--enable-ftp</parameter>: This parameter
461 enables FTP functions.
462 </para>
463
464 <para>
465 <parameter>--with-gettext</parameter>: Enables functions
466 that use <application>Gettext</application> text translation.
467 </para>
468
469 <para>
470 <parameter>--enable-mbstring</parameter>: This parameter
471 enables multibyte string support.
472 </para>
473
474<!--
475 <para>
476 <parameter>- -disable-mbstring</parameter>: This parameter
477 disables multibyte string regular expression support. It
478 requires the external
479 <ulink url="https://github.com/kkos/oniguruma">oniguruma</ulink>
480 library.
481 </para>
482-->
483 <para>
484 <parameter>--with-readline</parameter>: This parameter
485 enables command line <application>Readline</application> support.
486 </para>
487
488 <para>
489 <option>--disable-libxml</option>: This option
490 allows building PHP without <application>libxml2</application>
491 installed.
492 </para>
493
494 <para>
495 <option>--with-apxs2</option>: Instead of building the fastCGI process
496 manager, it is possible to build an <application>apache</application>
497 module. This has some performance penalty for heavy loaded servers,
498 but may be easier to set up. This switch is incompatible with the
499 <parameter>--enable-fpm</parameter> and
500 <parameter>--with-fpm-...</parameter> switches.
501 </para>
502
503 <para>
504 <option>--with-mysqli=shared</option>: This option includes MySQLi
505 support.
506 </para>
507
508 <para>
509 <option>--with-mysql-sock=/run/mysqld/mysqld.sock</option>: Location of
510 the MySQL unix socket pointer.
511 </para>
512
513 <para>
514 <option>--with-pdo-mysql=shared</option>: This option includes PDO:
515 MySQL support.
516 </para>
517
518 <para>
519 <option>--with-tidy=shared</option>: This option includes tidy library
520 support.
521 </para>
522
523 </sect2>
524
525 <sect2 role="configuration">
526 <title>Configuring PHP</title>
527
528 <sect3 id="php-config">
529 <title>Config Files</title>
530
531 <para>
532 <filename>/etc/php.ini</filename>,
533 <filename>/etc/pear.conf</filename>,
534 <filename>/etc/php-fpm.conf</filename>, and
535 <filename>/etc/php-fpm.d/www.conf</filename>
536 </para>
537
538 <indexterm zone="php php-config">
539 <primary sortas="e-etc-php.ini">/etc/php.ini</primary>
540 </indexterm>
541
542 <indexterm zone="php php-config">
543 <primary sortas="e-etc-pear.conf">/etc/pear.conf</primary>
544 </indexterm>
545
546 <indexterm zone="php php-config">
547 <primary sortas="e-etc-php-fpm.d-www.conf">
548 /etc/php-fpm.d/www.conf</primary>
549 </indexterm>
550
551 <indexterm zone="php php-config">
552 <primary sortas="e-etc-php-fpm.conf">/etc/php-fpm.conf</primary>
553 </indexterm>
554
555 </sect3>
556
557 <sect3>
558 <title>Configuration Information</title>
559
560 <para>
561 The file used as the default <filename>/etc/php.ini</filename>
562 configuration file is recommended by the <application>PHP</application>
563 development team. This file modifies the default behavior of
564 <application>PHP</application>. If no <filename>/etc/php.ini</filename>
565 is used, all configuration settings fall to the defaults. You should
566 review the comments in this file and ensure the changes are acceptable
567 in your particular environment.
568 </para>
569
570 <para>
571 The fastCGI process manager uses the configuration file
572 <filename>/etc/php-fpm.conf</filename>. The default file shipped with
573 PHP includes all the <filename>/etc/php-fpm.d/*.conf</filename> in turn.
574 There is a shipped <filename>/etc/php-fpm.d/www.conf</filename> file,
575 that contains the parameters related to the interaction with the Apache
576 Web server.
577 </para>
578
579 <para>
580 You may have noticed the following from the output of the
581 <command>make install</command> command:
582 </para>
583
584<screen><computeroutput>You may want to add: /usr/lib/php to your php.ini include_path</computeroutput></screen>
585
586 <para>
587 If desired, add the entry using the following command as the
588 <systemitem class="username">root</systemitem> user:
589 </para>
590
591<screen role="root"><userinput>sed -i 's@php/includes"@&amp;\ninclude_path = ".:/usr/lib/php"@' \
592 /etc/php.ini</userinput></screen>
593
594 <para>
595 To enable fastCGI support in the <application>Apache</application>
596 web server, two LoadModule directives must be added to the
597 <filename>httpd.conf</filename> file. They are commented out, so just
598 issue the following command as
599 <systemitem class="username">root</systemitem> user:
600 </para>
601
602<screen role="root"><userinput>sed -i -e '/proxy_module/s/^#//' \
603 -e '/proxy_fcgi_module/s/^#//' \
604 /etc/httpd/httpd.conf</userinput></screen>
605
606 <para>
607 Those modules accept various <command>ProxyPass</command>
608 directives. One possibility is (as the
609 <systemitem class="username">root</systemitem> user):
610 </para>
611
612<screen role="root"><userinput>echo \
613'ProxyPassMatch ^/(.*\.php)$ fcgi://127.0.0.1:9000/srv/www/$1' >> \
614/etc/httpd/httpd.conf</userinput></screen>
615
616 <para>
617 Additionally, it may be useful to add an entry for
618 <filename>index.php</filename> to the DirectoryIndex directive of the
619 <filename>httpd.conf</filename> file. Lastly, adding a line to set up the
620 <filename class='extension'>.phps</filename> extension to show
621 highlighted <application>PHP</application> source may be
622 desirable:
623 </para>
624
625<screen><literal>AddType application/x-httpd-php-source .phps</literal></screen>
626
627 <para>
628 You'll need to restart the <application>Apache</application> web server
629 after making any modifications to the <filename>httpd.conf</filename>
630 file.
631 </para>
632
633 </sect3>
634
635 <sect3 id="php-init">
636 <title><phrase revision="sysv">Boot Script</phrase>
637 <phrase revision="systemd">Systemd Unit</phrase></title>
638
639 <para revision="sysv">
640 To automatically start the <command>php-fpm</command> daemon when the
641 system is rebooted, install the
642 <filename>/etc/rc.d/init.d/php</filename> bootscript from the
643 <xref linkend="bootscripts"/> package as the
644 <systemitem class="username">root</systemitem> user:
645 </para>
646
647 <para revision="systemd">
648 To start the <command>php-fpm</command> daemon at boot,
649 install the systemd unit from the <xref linkend="systemd-units"/>
650 package by running the following command as the
651 <systemitem class="username">root</systemitem> user:
652 </para>
653
654
655 <indexterm zone="php php-init">
656 <primary sortas="f-php">php</primary>
657 </indexterm>
658
659<screen role="root" revision="sysv"><userinput>make install-php</userinput></screen>
660
661<screen role="root" revision="systemd"><userinput>make install-php-fpm</userinput></screen>
662
663 </sect3>
664
665 </sect2>
666
667 <sect2 role="content">
668 <title>Contents</title>
669
670 <segmentedlist>
671 <segtitle>Installed Programs</segtitle>
672 <segtitle>Installed Libraries</segtitle>
673 <segtitle>Installed Directories</segtitle>
674
675 <seglistitem>
676 <seg><!-- not built anymore pear, peardev, pecl,-->
677 phar (symlink), phar.phar, php,
678 php-cgi, php-config, php-fpm, phpdbg, and phpize</seg>
679
680 <seg>dba.so and opcache.so in
681 /usr/lib/php/extensions/no-debug-non-zts-20220829</seg>
682
683 <seg>/etc/php-fpm.d, /usr/{include,lib,share}/php, and
684 /usr/share/doc/php-&php-version;</seg>
685 </seglistitem>
686 </segmentedlist>
687
688 <variablelist>
689 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
690 <?dbfo list-presentation="list"?>
691 <?dbhtml list-presentation="table"?>
692
693 <varlistentry id="php-prog">
694 <term><command>php</command></term>
695 <listitem>
696 <para>
697 is a command line interface that enables you to parse and
698 execute PHP code
699 </para>
700 <indexterm zone="php php-prog">
701 <primary sortas="b-php">php</primary>
702 </indexterm>
703 </listitem>
704 </varlistentry>
705
706 <varlistentry id="pear">
707 <term><command>pear</command></term>
708 <listitem>
709 <para>
710 is the PHP Extension and Application Repository (PEAR) package
711 manager. This isn't installed by default
712 </para>
713 <indexterm zone="php pear">
714 <primary sortas="b-pear">pear</primary>
715 </indexterm>
716 </listitem>
717 </varlistentry>
718
719 <varlistentry id="php-fpm">
720 <term><command>php-fpm</command></term>
721 <listitem>
722 <para>
723 is the fastCGI process manager for PHP
724 </para>
725 <indexterm zone="php php-fpm">
726 <primary sortas="b-php-fpm">php-fpm</primary>
727 </indexterm>
728 </listitem>
729 </varlistentry>
730
731 <varlistentry id="phpdbg">
732 <term><command>phpdbg</command></term>
733 <listitem>
734 <para>
735 is the interactive PHP debugger
736 </para>
737 <indexterm zone="php phpdbg">
738 <primary sortas="b-phpdbg">phpdbg</primary>
739 </indexterm>
740 </listitem>
741 </varlistentry>
742
743 </variablelist>
744
745 </sect2>
746
747</sect1>
Note: See TracBrowser for help on using the repository browser.