[08254fc] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[08254fc] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY php-download-http "http://us2.php.net/distributions/php-&php-version;.tar.bz2">
|
---|
| 8 | <!ENTITY php-download-ftp "ftp://ftp.isu.edu.tw/pub/Unix/Web/PHP/distributions/php-&php-version;.tar.bz2">
|
---|
[a5db8d2] | 9 | <!ENTITY php-md5sum "704cd414a0565d905e1074ffdc1fadfb">
|
---|
| 10 | <!ENTITY php-size "10.7 MB">
|
---|
| 11 | <!ENTITY php-buildsize "253 MB (includes installing all documentation)">
|
---|
| 12 | <!ENTITY php-time "2.4 SBU (additional 2.2 SBU to run the test suite)">
|
---|
[08254fc] | 13 | ]>
|
---|
| 14 |
|
---|
[6683a00] | 15 | <sect1 id="php" xreflabel="PHP-&php-version;">
|
---|
[db81e4cb] | 16 | <?dbhtml filename="php.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>PHP-&php-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="php">
|
---|
| 26 | <primary sortas="a-PHP">PHP</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to PHP</title>
|
---|
| 31 |
|
---|
[7cd76d62] | 32 | <para><application>PHP</application> is the PHP Hypertext Preprocessor.
|
---|
| 33 | Primarily used in dynamic web sites, it allows for programming code to be
|
---|
[a5db8d2] | 34 | directly embedded into the HTML markup. It is also useful as a
|
---|
| 35 | general purpose scripting language.</para>
|
---|
| 36 |
|
---|
| 37 | &lfs70_checked;
|
---|
[db81e4cb] | 38 |
|
---|
| 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (HTTP): <ulink url="&php-download-http;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download (FTP): <ulink url="&php-download-ftp;"/></para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download MD5 sum: &php-md5sum;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download size: &php-size;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated disk space required: &php-buildsize;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Estimated build time: &php-time;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | </itemizedlist>
|
---|
| 60 |
|
---|
| 61 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 62 | <itemizedlist spacing="compact">
|
---|
[b84326b7] | 63 | <listitem>
|
---|
| 64 | <para>Pre-built documentation (optional): <ulink
|
---|
| 65 | url="http://www.php.net/download-docs.php"/></para>
|
---|
| 66 | </listitem>
|
---|
[db81e4cb] | 67 | </itemizedlist>
|
---|
| 68 |
|
---|
| 69 | <bridgehead renderas="sect3">PHP Dependencies</bridgehead>
|
---|
| 70 |
|
---|
| 71 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[256ee72c] | 72 | <para role="required"><xref linkend="apache"/></para>
|
---|
[db81e4cb] | 73 |
|
---|
[2f65edb] | 74 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[256ee72c] | 75 | <para role="recommended"><xref linkend="libxml2"/></para>
|
---|
[2f65edb] | 76 |
|
---|
[b84326b7] | 77 | <bridgehead renderas="sect4">Optional System Utilities and Libraries</bridgehead>
|
---|
[256ee72c] | 78 | <para role="optional"><xref linkend="libxslt"/>,
|
---|
[e797436] | 79 | <!-- <xref linkend="gamin"/>, -->
|
---|
[db81e4cb] | 80 | <xref linkend="pcre"/>,
|
---|
| 81 | <xref linkend="aspell"/>,
|
---|
[0fb9d5f] | 82 | <xref linkend="enchant"/>,
|
---|
[358241d1] | 83 | <!-- <xref linkend="pkgconfig"/>, -->
|
---|
[a33e5398] | 84 | <xref linkend="recode"/>,
|
---|
[2f65edb] | 85 | <xref linkend="expat"/> (deprecated alternative to <xref linkend="libxml2"/>),
|
---|
[b3799be4] | 86 | <ulink url="http://www.ossp.org/pkg/lib/mm/">OSSP mm</ulink>,
|
---|
[db81e4cb] | 87 | <ulink url="http://www.net-snmp.org/">Net-SNMP</ulink>,
|
---|
[eab03ca] | 88 | <xref linkend="pth"/>,
|
---|
[ba1a38b] | 89 | <ulink url="http://re2c.org/">re2c</ulink>,
|
---|
[bd38f0a] | 90 | <ulink url="http://xmlrpc-epi.sourceforge.net/main.php?t=php_about">XMLRPC-EPI</ulink>,
|
---|
[a33e5398] | 91 | <ulink url="http://dmalloc.com/">Dmalloc</ulink>, and
|
---|
[7f5c97e] | 92 | an <xref linkend="server-mail"/> (that provides a
|
---|
[ba1a38b] | 93 | <command>sendmail</command> command)</para>
|
---|
[b84326b7] | 94 |
|
---|
| 95 | <bridgehead renderas="sect4">Optional Graphics Utilities and Libraries</bridgehead>
|
---|
[256ee72c] | 96 | <para role="optional"><xref linkend="libjpeg"/>,
|
---|
[b84326b7] | 97 | <xref linkend="libtiff"/>,
|
---|
| 98 | <xref linkend="libpng"/>,
|
---|
[ba1a38b] | 99 | <xref linkend="libexif"/>,
|
---|
[b84326b7] | 100 | <xref linkend="freetype2"/>,
|
---|
[e77976f] | 101 | <xref linkend="x-window-system"/>,
|
---|
[b84326b7] | 102 | <ulink url="http://www.fastio.com/">ClibPDF</ulink>,
|
---|
[0fb9d5f] | 103 | <ulink url="http://www.libgd.org/Main_Page">GD</ulink>,
|
---|
[41eec069] | 104 | <ulink url="http://www.sfr-fresh.com/linux/misc/t1lib">t1lib</ulink>, and
|
---|
[b84326b7] | 105 | <ulink url="http://partners.adobe.com/asn/acrobat/forms.jsp">FDF Toolkit</ulink></para>
|
---|
| 106 |
|
---|
| 107 | <bridgehead renderas="sect4">Optional Web Utilities</bridgehead>
|
---|
[256ee72c] | 108 | <para role="optional"><xref linkend="curl"/>,
|
---|
[b84326b7] | 109 | <xref linkend="html-tidy"/>,
|
---|
[db81e4cb] | 110 | <ulink url="http://www.mnogosearch.org/">mnoGoSearch</ulink>,
|
---|
[b84326b7] | 111 | <ulink url="http://www.hyperwave.com/">Hyperwave</ulink>,
|
---|
[ba1a38b] | 112 | <ulink url="http://www.roxen.com/products/webserver/">Roxen WebServer</ulink>,
|
---|
[3f87e4a] | 113 | <ulink url="http://caudium.net/">Caudium</ulink>, and
|
---|
[b84326b7] | 114 | <ulink url="http://www.openwddx.org/">WDDX</ulink></para>
|
---|
| 115 |
|
---|
| 116 | <bridgehead renderas="sect4">Optional Data Management Utilities and Libraries</bridgehead>
|
---|
[256ee72c] | 117 | <para role="optional"><xref linkend="openldap"/>,
|
---|
[de7f20e] | 118 | <!-- <xref linkend="gdbm"/>, -->
|
---|
| 119 | <xref linkend="db"/>,
|
---|
[b84326b7] | 120 | <xref linkend="mysql"/>,
|
---|
| 121 | <xref linkend="postgresql"/>,
|
---|
[76b19ad] | 122 | <xref linkend="unixodbc"/>,
|
---|
[8f9c757e] | 123 | <xref linkend="sqlite"/>,
|
---|
[b84326b7] | 124 | <ulink url="http://qdbm.sourceforge.net/">QDBM</ulink>,
|
---|
| 125 | <ulink url="http://cr.yp.to/cdb.html">cdb</ulink>,
|
---|
[db81e4cb] | 126 | <ulink url="http://www.hughes.com.au/products/msql/">Mini SQL</ulink>,
|
---|
| 127 | <ulink url="http://www.empress.com/">Empress</ulink>,
|
---|
| 128 | <ulink url="http://www.birdstep.com/">Birdstep</ulink>,
|
---|
| 129 | <ulink url="http://www.dbmaker.com/">DBMaker</ulink>,
|
---|
| 130 | <ulink url="http://www.softwareag.com/">Adabas</ulink>,
|
---|
[3f87e4a] | 131 | <ulink url="http://www.frontbase.com/">FrontBase</ulink>, and
|
---|
[b84326b7] | 132 | <ulink url="http://www.mainstreetsoftworks.com/">Monetra</ulink></para>
|
---|
| 133 |
|
---|
[e797436] | 134 | <para><application>PHP</application> also provides support for many
|
---|
| 135 | commercial database tools such as <application>Oracle</application>,
|
---|
| 136 | <application>SAP</application> and
|
---|
| 137 | <application>ODBC Router</application>.</para>
|
---|
| 138 |
|
---|
[b84326b7] | 139 | <bridgehead renderas="sect4">Optional Security/Encryption Utilities and Libraries</bridgehead>
|
---|
[256ee72c] | 140 | <para role="optional"><xref linkend="openssl"/>,
|
---|
[b84326b7] | 141 | <xref linkend="cyrus-sasl"/>,
|
---|
| 142 | <xref linkend="mitkrb"/> or <xref linkend="heimdal"/>,
|
---|
[3f87e4a] | 143 | <ulink url="http://mcrypt.sourceforge.net/">libmcrypt</ulink>, and
|
---|
[b84326b7] | 144 | <ulink url="http://mhash.sourceforge.net/">mhash</ulink></para>
|
---|
[db81e4cb] | 145 |
|
---|
[1039de3] | 146 | <para condition="html" role="usernotes">User Notes:
|
---|
| 147 | <ulink url="&blfs-wiki;/php"/></para>
|
---|
| 148 |
|
---|
[db81e4cb] | 149 | </sect2>
|
---|
| 150 |
|
---|
| 151 | <sect2 role="installation">
|
---|
| 152 | <title>Installation of PHP</title>
|
---|
| 153 |
|
---|
[e797436] | 154 | <para>You can use <application>PHP</application> for server-side
|
---|
| 155 | scripting, command-line scripting or client-side GUI applications. This
|
---|
| 156 | book provides instructions for setting up <application>PHP</application>
|
---|
| 157 | for server-side scripting as it is the most common form.</para>
|
---|
[db81e4cb] | 158 |
|
---|
[b84326b7] | 159 | <note>
|
---|
| 160 | <para><application>PHP</application> has many more
|
---|
[ba1a38b] | 161 | <command>configure</command> options that will enable support for various
|
---|
[b84326b7] | 162 | things. You can use <command>./configure --help</command> to see a full
|
---|
| 163 | list of the available options. Also, use of the
|
---|
| 164 | <ulink url="http://www.php.net/">PHP web site</ulink>
|
---|
[e797436] | 165 | is highly recommended, as their online docs are very good. An example of
|
---|
| 166 | a <command>configure</command> command that utilizes many of the most
|
---|
| 167 | common dependencies can be found at <ulink
|
---|
[4e88613] | 168 | url="&files-anduin;/php_configure.txt"/>.
|
---|
[e797436] | 169 | </para>
|
---|
[3f87e4a] | 170 |
|
---|
| 171 | <para>If, for whatever reason, you don't have <xref linkend="libxml2"/>
|
---|
| 172 | installed, you need to add <option>--disable-libxml</option> to the
|
---|
[e797436] | 173 | <command>configure</command> command in the instructions below. Note that
|
---|
| 174 | this will prevent the <command>pear</command> command from being
|
---|
| 175 | built.</para>
|
---|
[b84326b7] | 176 | </note>
|
---|
| 177 |
|
---|
[db81e4cb] | 178 | <para>Install <application>PHP</application> by
|
---|
| 179 | running the following commands:</para>
|
---|
| 180 |
|
---|
[821903b8] | 181 | <screen><userinput>./configure --prefix=/usr \
|
---|
[4a93a3c] | 182 | --sysconfdir=/etc \
|
---|
| 183 | --with-apxs2 \
|
---|
| 184 | --with-config-file-path=/etc \
|
---|
| 185 | --with-zlib \
|
---|
[5056a3b] | 186 | --enable-bcmath \
|
---|
[4a93a3c] | 187 | --with-bz2 \
|
---|
[990f983] | 188 | --enable-calendar \
|
---|
[0fb9d5f] | 189 | --enable-dba=shared \
|
---|
| 190 | --with-gdbm \
|
---|
| 191 | --with-gmp \
|
---|
[4a93a3c] | 192 | --enable-ftp \
|
---|
| 193 | --with-gettext \
|
---|
[fbbf93e] | 194 | --enable-mbstring \
|
---|
[ba1a38b] | 195 | --with-readline &&
|
---|
[db81e4cb] | 196 | make</userinput></screen>
|
---|
| 197 |
|
---|
[d6f7e6cb] | 198 | <para>To test the results, issue: <command>make test</command>. Some of
|
---|
| 199 | the tests are known to fail.</para>
|
---|
| 200 |
|
---|
[db81e4cb] | 201 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 202 |
|
---|
| 203 | <screen role="root"><userinput>make install &&
|
---|
[0fb9d5f] | 204 | install -v -m644 php.ini-production /etc/php.ini &&
|
---|
[d6f7e6cb] | 205 |
|
---|
[ba1a38b] | 206 | install -v -m755 -d /usr/share/doc/php-&php-version; &&
|
---|
| 207 | install -v -m644 CODING_STANDARDS EXTENSIONS INSTALL NEWS \
|
---|
| 208 | README* TODO* UPGRADING php.gif \
|
---|
| 209 | /usr/share/doc/php-&php-version; &&
|
---|
[a5db8d2] | 210 | ln -v -sfn /usr/lib/php/doc/Archive_Tar/docs/Archive_Tar.txt \
|
---|
[0fb9d5f] | 211 | /usr/share/doc/php-&php-version; &&
|
---|
[a5db8d2] | 212 | ln -v -sfn /usr/lib/php/doc/Structures_Graph/docs \
|
---|
[0fb9d5f] | 213 | /usr/share/doc/php-&php-version;</userinput></screen>
|
---|
[db81e4cb] | 214 |
|
---|
[b84326b7] | 215 | <para>The pre-built HTML documentation is packaged in two forms: a tarball
|
---|
| 216 | containing many individual files, useful for quick loading into your
|
---|
[ba1a38b] | 217 | browser, and one large individual file, which is useful for using the
|
---|
| 218 | search utility of your browser. If you downloaded either, or both, of the
|
---|
| 219 | documentation files, issue the following commands as the
|
---|
| 220 | <systemitem class='username'>root</systemitem> user to install them (note
|
---|
[b84326b7] | 221 | these instructions assume English docs, modify the tarball names below if
|
---|
| 222 | necessary).</para>
|
---|
[db81e4cb] | 223 |
|
---|
[ba1a38b] | 224 | <para>For the <quote>Single HTML</quote> file:</para>
|
---|
[b84326b7] | 225 |
|
---|
| 226 | <screen role="root"><userinput>install -v -m644 ../php_manual_en.html.gz \
|
---|
| 227 | /usr/share/doc/php-&php-version; &&
|
---|
| 228 | gunzip -v /usr/share/doc/php-&php-version;/php_manual_en.html.gz</userinput></screen>
|
---|
| 229 |
|
---|
| 230 | <para>For the <quote>Many HTML files</quote> tarball:</para>
|
---|
| 231 |
|
---|
[0fb9d5f] | 232 | <screen role="root"><userinput>tar -xvf ../php_manual_en.tar.gz \
|
---|
[a5db8d2] | 233 | -C /usr/share/doc/php-&php-version; --no-same-owner</userinput></screen>
|
---|
[db81e4cb] | 234 |
|
---|
| 235 | </sect2>
|
---|
[b84326b7] | 236 |
|
---|
[934c9b26] | 237 | <sect2 role="commands">
|
---|
| 238 | <title>Command Explanations</title>
|
---|
[db81e4cb] | 239 |
|
---|
[934c9b26] | 240 | <para><parameter>--with-apxs2</parameter>: This parameter
|
---|
[b84326b7] | 241 | builds the Apache HTTPD 2.0 module.</para>
|
---|
[934c9b26] | 242 |
|
---|
| 243 | <para><parameter>--with-config-file-path=/etc</parameter>: This parameter
|
---|
[ba1a38b] | 244 | makes <application>PHP</application> look for the
|
---|
| 245 | <filename>php.ini</filename> configuration file in
|
---|
| 246 | <filename class='directory'>/etc</filename>.</para>
|
---|
[934c9b26] | 247 |
|
---|
[bccbdaea] | 248 | <para><parameter>--with-zlib</parameter>: This parameter adds
|
---|
[3239e36] | 249 | support for <application>Zlib</application> compression.</para>
|
---|
[934c9b26] | 250 |
|
---|
[b84326b7] | 251 | <para><parameter>--enable-bcmath</parameter>: Enables
|
---|
| 252 | <command>bc</command> style precision math functions.</para>
|
---|
[bccbdaea] | 253 |
|
---|
[2f65edb] | 254 | <para><parameter>--with-bz2</parameter>: Adds support for
|
---|
[b84326b7] | 255 | <application>Bzip2</application> compression functions.</para>
|
---|
[934c9b26] | 256 |
|
---|
| 257 | <para><parameter>--enable-calendar</parameter>: This parameter
|
---|
| 258 | provides support for calendar conversion.</para>
|
---|
| 259 |
|
---|
[0fb9d5f] | 260 | <para><parameter>--enable-dba=shared</parameter>: This parameter enables
|
---|
[2f65edb] | 261 | support for database (dbm-style) abstraction layer functions.</para>
|
---|
[934c9b26] | 262 |
|
---|
| 263 | <para><parameter>--enable-ftp</parameter>: This parameter
|
---|
[3239e36] | 264 | enables FTP functions.</para>
|
---|
[934c9b26] | 265 |
|
---|
| 266 | <para><parameter>--with-gettext</parameter>: Enables functions
|
---|
[3239e36] | 267 | that use <application>Gettext</application> text translation.</para>
|
---|
[934c9b26] | 268 |
|
---|
| 269 | <para><parameter>--enable-mbstring</parameter>: This parameter
|
---|
| 270 | enables multibyte string support.</para>
|
---|
| 271 |
|
---|
| 272 | <para><parameter>--with-readline</parameter>: This parameter
|
---|
[b84326b7] | 273 | enables command line <application>Readline</application> support.</para>
|
---|
[934c9b26] | 274 |
|
---|
| 275 | <para><parameter>--disable-libxml</parameter>: This parameter
|
---|
[ba1a38b] | 276 | allows building PHP without <application>libxml2</application>
|
---|
[2f65edb] | 277 | installed.</para>
|
---|
[934c9b26] | 278 |
|
---|
| 279 | </sect2>
|
---|
[bccbdaea] | 280 |
|
---|
[db81e4cb] | 281 | <sect2 role="configuration">
|
---|
| 282 | <title>Configuring PHP</title>
|
---|
| 283 |
|
---|
| 284 | <sect3 id="php-config">
|
---|
| 285 | <title>Config Files</title>
|
---|
| 286 |
|
---|
[ba1a38b] | 287 | <para><filename>/etc/php.ini</filename> and
|
---|
[db81e4cb] | 288 | <filename>/etc/pear.conf</filename></para>
|
---|
| 289 |
|
---|
| 290 | <indexterm zone="php php-config">
|
---|
| 291 | <primary sortas="e-etc-php.ini">/etc/php.ini</primary>
|
---|
| 292 | </indexterm>
|
---|
| 293 |
|
---|
| 294 | <indexterm zone="php php-config">
|
---|
| 295 | <primary sortas="e-etc-pear.conf">/etc/pear.conf</primary>
|
---|
| 296 | </indexterm>
|
---|
| 297 |
|
---|
| 298 | </sect3>
|
---|
| 299 |
|
---|
| 300 | <sect3>
|
---|
| 301 | <title>Configuration Information</title>
|
---|
| 302 |
|
---|
[e797436] | 303 | <para>The file used as the default <filename>/etc/php.ini</filename>
|
---|
| 304 | configuration file is recommended by the <application>PHP</application>
|
---|
| 305 | development team. This file modifies the default behavior of
|
---|
[254be7d3] | 306 | <application>PHP</application>. If no <filename>/etc/php.ini</filename>
|
---|
| 307 | is used, all configuration settings fall to the defaults. You should
|
---|
[e797436] | 308 | review the comments in this file and ensure the changes are acceptable
|
---|
| 309 | in your particular environment.</para>
|
---|
| 310 |
|
---|
[b84326b7] | 311 | <para>You may have noticed the following from the output of the
|
---|
| 312 | <command>make install</command> command:</para>
|
---|
| 313 |
|
---|
[7c1d541] | 314 | <screen><computeroutput>You may want to add: /usr/lib/php to your php.ini include_path</computeroutput></screen>
|
---|
[b84326b7] | 315 |
|
---|
| 316 | <para>If desired, add the entry using the following command as the
|
---|
| 317 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 318 |
|
---|
[7c1d541] | 319 | <screen role="root"><userinput>sed -i 's@php/includes"@&\ninclude_path = ".:/usr/lib/php"@' \
|
---|
[b84326b7] | 320 | /etc/php.ini</userinput></screen>
|
---|
| 321 |
|
---|
[0619e6d] | 322 | <para>To enable PHP support in the <application>Apache</application>
|
---|
[db81e4cb] | 323 | web server, a new LoadModule (which should be handled automatically by the
|
---|
[7cd76d62] | 324 | <command>make install</command> command) and AddType directives
|
---|
[db81e4cb] | 325 | must be added to the <filename>httpd.conf</filename> file:</para>
|
---|
| 326 |
|
---|
| 327 | <screen><literal>LoadModule php5_module lib/apache/libphp5.so
|
---|
| 328 | AddType application/x-httpd-php .php</literal></screen>
|
---|
| 329 |
|
---|
[e797436] | 330 | <para>Additionally, it can be useful to add an entry for
|
---|
[7cd76d62] | 331 | <filename>index.php</filename> to the DirectoryIndex directive of the
|
---|
[e797436] | 332 | <filename>httpd.conf</filename> file. Lastly, adding a line to setup the
|
---|
| 333 | <filename class='extension'>.phps</filename> extension to show
|
---|
| 334 | highlighted <application>PHP</application> source may be
|
---|
| 335 | desirable:</para>
|
---|
| 336 |
|
---|
| 337 | <screen><literal>AddType application/x-httpd-php-source .phps</literal></screen>
|
---|
[db81e4cb] | 338 |
|
---|
[7cd76d62] | 339 | <para>You'll need to restart the <application>Apache</application> web server
|
---|
[0619e6d] | 340 | after making any modifications to the <filename>httpd.conf</filename>
|
---|
[db81e4cb] | 341 | file.</para>
|
---|
| 342 |
|
---|
| 343 | </sect3>
|
---|
| 344 |
|
---|
| 345 | </sect2>
|
---|
| 346 |
|
---|
| 347 | <sect2 role="content">
|
---|
| 348 | <title>Contents</title>
|
---|
| 349 |
|
---|
| 350 | <segmentedlist>
|
---|
| 351 | <segtitle>Installed Programs</segtitle>
|
---|
| 352 | <segtitle>Installed Library</segtitle>
|
---|
| 353 | <segtitle>Installed Directories</segtitle>
|
---|
| 354 |
|
---|
| 355 | <seglistitem>
|
---|
[e797436] | 356 | <seg>pear, peardev, pecl, php, php-config and phpize</seg>
|
---|
| 357 | <seg>libphp5.so Apache module</seg>
|
---|
[ba1a38b] | 358 | <seg>/usr/include/php, /usr/lib/php and
|
---|
| 359 | /usr/share/doc/php-&php-version;</seg>
|
---|
[db81e4cb] | 360 | </seglistitem>
|
---|
| 361 | </segmentedlist>
|
---|
| 362 |
|
---|
| 363 | <variablelist>
|
---|
| 364 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 365 | <?dbfo list-presentation="list"?>
|
---|
| 366 | <?dbhtml list-presentation="table"?>
|
---|
| 367 |
|
---|
| 368 | <varlistentry id="php-prog">
|
---|
| 369 | <term><command>php</command></term>
|
---|
| 370 | <listitem>
|
---|
[7cd76d62] | 371 | <para>is a command line interface that enables you to parse and
|
---|
[db81e4cb] | 372 | execute PHP code.</para>
|
---|
| 373 | <indexterm zone="php php-prog">
|
---|
| 374 | <primary sortas="b-php">php</primary>
|
---|
| 375 | </indexterm>
|
---|
| 376 | </listitem>
|
---|
| 377 | </varlistentry>
|
---|
| 378 |
|
---|
| 379 | <varlistentry id="pear">
|
---|
| 380 | <term><command>pear</command></term>
|
---|
| 381 | <listitem>
|
---|
[7cd76d62] | 382 | <para>is the PHP Extension and Application
|
---|
[db81e4cb] | 383 | Repository (PEAR) package manager.</para>
|
---|
| 384 | <indexterm zone="php pear">
|
---|
| 385 | <primary sortas="b-pear">pear</primary>
|
---|
| 386 | </indexterm>
|
---|
| 387 | </listitem>
|
---|
| 388 | </varlistentry>
|
---|
| 389 |
|
---|
| 390 | </variablelist>
|
---|
| 391 |
|
---|
| 392 | </sect2>
|
---|
[f45b1953] | 393 |
|
---|
| 394 | </sect1>
|
---|