Changeset b84326b7


Ignore:
Timestamp:
08/14/2005 11:26:05 PM (19 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
31f3a57
Parents:
a592e42
Message:

Updates to PHP: added new dependencies, placed the dependencies in catagories, added instructions to install documentation, added instruction to update php.ini and minor textual corrections

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@4930 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • general/prog/php.xml

    ra592e42 rb84326b7  
    99  <!ENTITY php-md5sum        "fb1aac107870f897d26563a9cc5053c0">
    1010  <!ENTITY php-size          "4.7 MB">
    11   <!ENTITY php-buildsize     "126 MB">
    12   <!ENTITY php-time          "1.82 SBU">
     11  <!ENTITY php-buildsize     "138 MB">
     12  <!ENTITY php-time          "1.9 SBU">
    1313]>
    1414
     
    6262        url="&patch-root;/php-&php-version;-db43-1.patch"/></para>
    6363      </listitem>
     64      <listitem>
     65        <para>Pre-built documentation (optional): <ulink
     66        url="http://www.php.net/download-docs.php"/></para>
     67      </listitem>
    6468    </itemizedlist>
    6569
     
    6973    <para><xref linkend="apache"/></para>
    7074
    71     <bridgehead renderas="sect4">Optional</bridgehead>
     75    <bridgehead renderas="sect4">Optional System Utilities and Libraries</bridgehead>
    7276    <para><xref linkend="libxml2"/>,
    7377    <xref linkend="libxslt"/>,
    74     <xref linkend="openssl"/>,
     78    <xref linkend="fam"/>,
     79    <xref linkend="gmp"/>,
     80    <xref linkend="pcre"/>,
     81    <xref linkend="aspell"/>,
     82    <xref linkend="pkgconfig"/>,
     83    <xref linkend="expat"/>,
     84    <ulink url="http://www.ossp.org/pkg/lib/mm/">OSSP mm</ulink>,
     85    <ulink url="http://www.net-snmp.org/">Net-SNMP</ulink>,
     86    <ulink url="http://dmalloc.com/">Dmalloc</ulink>,
     87    <ulink url="http://www.gnu.org/software/recode/">recode</ulink> and
     88    an <ulink url="../server/mail.html">MTA</ulink></para>
     89
     90    <bridgehead renderas="sect4">Optional Graphics Utilities and Libraries</bridgehead>
     91    <para><xref linkend="libjpeg"/>,
     92    <xref linkend="libtiff"/>,
     93    <xref linkend="libpng"/>,
     94    <xref linkend="freetype2"/>,
     95    X (<xref linkend="xorg"/> or <xref linkend="xfree86"/>),
    7596    <ulink url="http://www.fastio.com/">ClibPDF</ulink>,
    76     <xref linkend="libjpeg"/>,
    77     <xref linkend="libtiff"/>,
    78     <xref linkend="curl"/>,
     97    <ulink url="http://www.boutell.com/gd/">GD</ulink>,
     98    <ulink url="http://gd.tuwien.ac.at/visual/ibiblio/libs/graphics/t1lib-5.1.0.tar.gz">
     99    t1lib</ulink> and
     100    <ulink url="http://partners.adobe.com/asn/acrobat/forms.jsp">FDF Toolkit</ulink></para>
     101
     102    <bridgehead renderas="sect4">Optional Web Utilities</bridgehead>
     103    <para><xref linkend="curl"/>,
     104    <xref linkend="html-tidy"/>,
     105    <ulink url="http://www.mnogosearch.org/">mnoGoSearch</ulink>,
     106    <ulink url="http://www.hyperwave.com/">Hyperwave</ulink>,
     107    <ulink url="http://caudium.net/">Caudium</ulink> and
     108    <ulink url="http://www.openwddx.org/">WDDX</ulink></para>
     109
     110    <bridgehead renderas="sect4">Optional Data Management Utilities and Libraries</bridgehead>
     111    <para><xref linkend="openldap"/>,
     112    <xref linkend="gdbm"/>,
     113    <xref linkend="db"/>,
     114    <xref linkend="mysql"/>,
     115    <xref linkend="postgresql"/>,
    79116    <ulink url="http://qdbm.sourceforge.net/">QDBM</ulink>,
    80117    <ulink url="http://cr.yp.to/cdb.html">cdb</ulink>,
    81     <xref linkend="gdbm"/>,
    82     <xref linkend="db"/>,
    83     <xref linkend="fam"/>,
    84     <ulink url="http://www.boutell.com/gd/">GD</ulink>,
    85     <xref linkend="libpng"/>,
    86     X (<xref linkend="xorg"/> or <xref linkend="xfree86"/>),
    87     <xref linkend="freetype2"/>,
    88     <ulink
    89     url="http://gd.tuwien.ac.at/visual/ibiblio/libs/graphics/t1lib-5.1.0.tar.gz">
    90     t1lib</ulink>,
    91     <xref linkend="gmp"/>
    92     <xref linkend="mysql"/>,
    93     <xref linkend="pcre"/>,
    94     <xref linkend="postgresql"/>,
    95     <xref linkend="aspell"/>,
    96     <xref linkend="pkgconfig"/>,
    97     <xref linkend="html-tidy"/>,
    98     <xref linkend="openldap"/>,
    99     <xref linkend="cyrus-sasl"/>,
    100     <xref linkend="mitkrb"/> or <xref linkend="heimdal"/>,
    101     <ulink url="http://mcrypt.sourceforge.net/">libmcrypt</ulink>,
    102     <ulink url="http://mhash.sourceforge.net/">mhash</ulink>,
    103     <ulink url="http://www.ossp.org/pkg/lib/mm/">OSSP mm</ulink>,
    104     <ulink url="http://www.net-snmp.org/">Net-SNMP</ulink>,
    105118    <ulink url="http://www.sqlite.org/">SQLite</ulink>,
    106     <ulink url="http://dmalloc.com/">Dmalloc</ulink>,
    107     <ulink url="http://www.mnogosearch.org/">mnoGoSearch</ulink>,
    108119    <ulink url="http://www.hughes.com.au/products/msql/">Mini SQL</ulink>,
     120    <ulink url="http://www.unixodbc.org/">unixODBC</ulink>,
    109121    <ulink url="http://www.empress.com/">Empress</ulink>,
    110122    <ulink url="http://www.birdstep.com/">Birdstep</ulink>,
    111123    <ulink url="http://www.dbmaker.com/">DBMaker</ulink>,
    112124    <ulink url="http://www.softwareag.com/">Adabas</ulink>,
    113     <ulink url="http://www.frontbase.com/">FrontBase</ulink>,
    114     <ulink url="http://caudium.net/">Caudium</ulink>,
    115     <ulink url="http://www.openwddx.org/">WDDX</ulink>,
    116     <ulink url="http://partners.adobe.com/asn/acrobat/forms.jsp">
    117     FDF Toolkit</ulink>,
    118     <ulink url="http://www.hyperwave.com/">Hyperwave</ulink>,
    119     <ulink url="http://www.mainstreetsoftworks.com/">Monetra</ulink>,
    120     <xref linkend="expat"/> and
    121     <ulink url="../server/mail.html">MTA</ulink></para>
     125    <ulink url="http://www.frontbase.com/">FrontBase</ulink> and
     126    <ulink url="http://www.mainstreetsoftworks.com/">Monetra</ulink></para>
     127
     128    <bridgehead renderas="sect4">Optional Security/Encryption Utilities and Libraries</bridgehead>
     129    <para><xref linkend="openssl"/>,
     130    <xref linkend="cyrus-sasl"/>,
     131    <xref linkend="mitkrb"/> or <xref linkend="heimdal"/>,
     132    <ulink url="http://mcrypt.sourceforge.net/">libmcrypt</ulink> and
     133    <ulink url="http://mhash.sourceforge.net/">mhash</ulink></para>
    122134
    123135  </sect2>
     
    138150
    139151<screen><userinput>patch -Np1 -i ../php-&php-version;-db43-1.patch</userinput></screen>
     152
     153    <note>
     154      <para><application>PHP</application> has many more
     155      <command>configure</command> options that will enable support for certain
     156      things. You can use <command>./configure --help</command> to see a full
     157      list of the available options. Also, use of the
     158      <ulink url="http://www.php.net/">PHP web site</ulink>
     159      is highly recommended, as their online docs are very good.</para>
     160    </note>
     161
     162    <para>Remove the <option>--disable-libxml</option> switch if you
     163    have <xref linkend="libxml2"/> installed otherwise
     164    <command>pear</command> will not be built.</para>
    140165
    141166    <para>Install <application>PHP</application> by
     
    160185make</userinput></screen>
    161186
    162     <para>To test the results, issue: <command>make test</command>.</para>
     187    <para>To test the results, issue: <command>make test</command>. Note that
     188    many of the tests are known to fail.</para>
    163189
    164190    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     
    167193cp -v php.ini-recommended /etc/php.ini</userinput></screen>
    168194
    169     <para>Remove the <option>--disable-libxml</option> switch if you
    170     have <xref linkend="libxml2"/> installed otherwise
    171     <command>pear</command> will not be built.</para>
    172 
    173     <note>
    174       <para><application>PHP</application> has many more configure
    175       options that will enable support for certain things. You can use
    176       <command>./configure --help</command> to see a full list of the
    177       available options. Also, use of the
    178       <ulink url="http://www.php.net/">PHP web site</ulink>
    179       is highly recommended, as their online docs are very good.</para>
    180     </note>
    181 
    182   </sect2>
     195    <para>The pre-built HTML documentation is packaged in two forms: a tarball
     196    containing many individual files, useful for quick loading into your
     197    browser, and a tarball of one large file, which is useful for using the
     198    search utility of your browser. If you downloaded any of the documentation,
     199    the instructions below can be issued by the
     200    <systemitem class='username'>root</systemitem> user to install it (note
     201    these instructions assume English docs, modify the tarball names below if
     202    necessary).</para>
     203
     204    <para>For the <quote>Single HTML</quote> tarball:</para>
     205
     206<screen role="root"><userinput>install -v -m644 ../php_manual_en.html.gz \
     207    /usr/share/doc/php-&php-version; &amp;&amp;
     208gunzip -v /usr/share/doc/php-&php-version;/php_manual_en.html.gz</userinput></screen>
     209
     210    <para>For the <quote>Many HTML files</quote> tarball:</para>
     211
     212<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/php-&php-version; &amp;&amp;
     213tar -xvf ../php_manual_en.tar.gz -C /usr/share/doc/php-&php-version; &amp;&amp;
     214chown -v -R root:root /usr/share/doc/php-&php-version;/html</userinput></screen>
     215
     216  </sect2>
     217
    183218  <sect2 role="commands">
    184219      <title>Command Explanations</title>
    185220
    186221      <para><parameter>--with-apxs2</parameter>: This parameter
    187       builds the Apache 2.0 module.</para>
     222      builds the Apache HTTPD 2.0 module.</para>
    188223
    189224      <para><parameter>--with-config-file-path=/etc</parameter>: This parameter
     
    194229      support for <application>Zlib</application> compression.</para>
    195230
    196       <para><parameter>--enable-bcmath</parameter>: Enables bc style
    197       precision math functions.</para>
    198 
    199       <para><parameter>--with-bz2</parameter>: Add support for bz2
    200       compression functions.</para>
     231      <para><parameter>--enable-bcmath</parameter>: Enables
     232      <command>bc</command> style precision math functions.</para>
     233
     234      <para><parameter>--with-bz2</parameter>: Add support for
     235      <application>Bzip2</application> compression functions.</para>
    201236
    202237      <para><parameter>--enable-calendar</parameter>: This parameter
     
    222257
    223258      <para><parameter>--with-readline</parameter>: This parameter
    224       enables command line readline support.</para>
     259      enables command line <application>Readline</application> support.</para>
    225260
    226261      <para><parameter>--disable-libxml</parameter>: This parameter
    227       disables XML support functions.</para>
     262      disables XML support functions. This should be removed if you have
     263      <application>Libxml2</application> installed.</para>
    228264
    229265  </sect2>
     
    250286    <sect3>
    251287      <title>Configuration Information</title>
     288
     289      <para>You may have noticed the following from the output of the
     290      <command>make install</command> command:</para>
     291
     292      <screen><computeroutput>You may want to add: /usr/lib/php to your php.ini include_path</computeroutput></screen>
     293
     294      <para>If desired, add the entry using the following command as the
     295      <systemitem class="username">root</systemitem> user:</para>
     296
     297      <screen role="root"><userinput>sed -i 's@php/includes"@&amp;\ninclude_path = ".:/usr/lib/php"@' \
     298    /etc/php.ini</userinput></screen>
    252299
    253300      <para>To enable PHP support in the <application>Apache</application>
  • introduction/welcome/changelog.xml

    ra592e42 rb84326b7  
    2424
    2525  <itemizedlist>
     26
     27    <listitem>
     28      <para>August 14th, 2005 [randy]: Updates to PHP: added new dependencies,
     29      placed the dependencies in catagories, added instructions to install
     30      documentation, added instruction to update php.ini and minor textual
     31      corrections.</para>
     32    </listitem>
    2633
    2734    <listitem>
Note: See TracChangeset for help on using the changeset viewer.