Changeset e797436


Ignore:
Timestamp:
05/16/2006 01:48:30 AM (18 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:
784ddf5
Parents:
60cfddd
Message:

Updated to PHP-5.1.4

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

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r60cfddd re797436  
    1 <!ENTITY day          "15">                   <!-- Always 2 digits -->
     1<!ENTITY day          "16">                   <!-- Always 2 digits -->
    22<!ENTITY month        "05">                   <!-- Always 2 digits -->
    33<!ENTITY year         "2006">
     
    180180<!ENTITY NASM-version                 "0.98.39">
    181181<!ENTITY pdl-version                  "2.4.2">
    182 <!ENTITY php-version                  "5.1.2">
     182<!ENTITY php-version                  "5.1.4">
    183183<!ENTITY Python-version               "2.4.3">
    184184<!ENTITY pyxml-version                "0.8.4">
  • general/prog/php.xml

    r60cfddd re797436  
    77  <!ENTITY php-download-http "http://us2.php.net/distributions/php-&php-version;.tar.bz2">
    88  <!ENTITY php-download-ftp  "ftp://ftp.isu.edu.tw/pub/Unix/Web/PHP/distributions/php-&php-version;.tar.bz2">
    9   <!ENTITY php-md5sum        "79cee17e9db85be878000a2a4198378e">
     9  <!ENTITY php-md5sum        "66a806161d4a2d3b5153ebe4cd0f2e1c">
    1010  <!ENTITY php-size          "6.3 MB">
    1111  <!ENTITY php-buildsize     "213 MB (includes installing all documentation)">
    12   <!ENTITY php-time          "2.6 SBU (additional 1.5 SBU to run the test suite)">
     12  <!ENTITY php-time          "2.5 SBU (additional 1.9 SBU to run the test suite)">
    1313]>
    1414
     
    6262    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    6363    <itemizedlist spacing="compact">
    64       <listitem>
     64      <!-- <listitem>
    6565        <para>Required patch for Berkeley DB: <ulink
    6666        url="&patch-root;/php-&php-version;-db43-1.patch"/></para>
    67       </listitem>
     67      </listitem> -->
    6868      <listitem>
    6969        <para>Pre-built documentation (optional): <ulink
     
    8282    <bridgehead renderas="sect4">Optional System Utilities and Libraries</bridgehead>
    8383    <para role="optional"><xref linkend="libxslt"/>,
    84     <xref linkend="gamin"/>,
     84    <!-- <xref linkend="gamin"/>, -->
    8585    <xref linkend="gmp"/>,
    8686    <xref linkend="pcre"/>,
     
    138138    <ulink url="http://www.mainstreetsoftworks.com/">Monetra</ulink></para>
    139139
     140    <para><application>PHP</application> also provides support for many
     141    commercial database tools such as <application>Oracle</application>,
     142    <application>SAP</application> and
     143    <application>ODBC Router</application>.</para>
     144
    140145    <bridgehead renderas="sect4">Optional Security/Encryption Utilities and Libraries</bridgehead>
    141146    <para role="optional"><xref linkend="openssl"/>,
     
    153158    <title>Installation of PHP</title>
    154159
    155     <note>
    156       <para>You can use <application>PHP</application>
    157       for server-side scripting, command-line scripting or client-side
    158       GUI applications. This book provides instructions for
    159       setting up <application>PHP</application> for
    160       server-side scripting as it is the most common form.</para>
    161     </note>
     160    <para>You can use <application>PHP</application> for server-side
     161    scripting, command-line scripting or client-side GUI applications. This
     162    book provides instructions for setting up <application>PHP</application>
     163    for server-side scripting as it is the most common form.</para>
    162164
    163165    <!-- Commenting this out for now as BDB is built in LFS
     
    176178      list of the available options. Also, use of the
    177179      <ulink url="http://www.php.net/">PHP web site</ulink>
    178       is highly recommended, as their online docs are very good.</para>
     180      is highly recommended, as their online docs are very good. An example of
     181      a <command>configure</command> command that utilizes many of the most
     182      common dependencies can be found at <ulink
     183      url="http://anduin.linuxfromscratch.org/files/BLFS/php_configure.txt"/>.
     184      </para>
    179185
    180186      <para>If, for whatever reason, you don't have <xref linkend="libxml2"/>
    181187      installed, you need to add <option>--disable-libxml</option> to the
    182       <command>configure</command> command in the instructions below. This
    183       will prevent the <command>pear</command> command from being built.</para>
     188      <command>configure</command> command in the instructions below. Note that
     189      this will prevent the <command>pear</command> command from being
     190      built.</para>
    184191    </note>
    185192
     
    196203    running the following commands:</para>
    197204
    198 <screen><userinput>patch -Np1 -i ../php-&php-version;-db43-1.patch &amp;&amp;
     205<screen><userinput>sed -i 's/const char \*errpfx,/const DB_ENV *dbenv, &amp; const/' \
     206    ext/dba/dba_db4.c &amp;&amp;
    199207./configure --prefix=/usr \
    200208            --sysconfdir=/etc \
    201209            --with-apxs2 \
     210            --enable-force-cgi-redirect \
     211            --enable-discard-path \
    202212            --with-config-file-path=/etc \
    203213            --with-zlib \
     
    215225
    216226    <para>To test the results, issue: <command>make test</command>. Three of
    217     the tests are known to fail.</para>
     227    the (over 1600) tests are known to fail: an <command>iconv</command>
     228    stream filter test (ext/iconv/tests/iconv_stream_filter.phpt) and two
     229    MBString function overload tests (ext/mbstring/tests/overload01.phpt and
     230    ext/mbstring/tests/overload02.phpt). Additionally, if you have the
     231    <application>unixODBC</application> package installed and linked into the
     232    build, you may see many failures related to it.</para>
    218233
    219234    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     
    253268      <title>Command Explanations</title>
    254269
     270      <para><command>sed -i '...' ext/dba/dba_db4.c</command>: This command is
     271      used to fix an issue with the use of Berkeley DB &gt;= 4.3.x.</para>
     272
    255273      <para><parameter>--with-apxs2</parameter>: This parameter
    256274      builds the Apache HTTPD 2.0 module.</para>
     
    322340      <title>Configuration Information</title>
    323341
     342      <para>The file used as the default <filename>/etc/php.ini</filename>
     343      configuration file is recommended by the <application>PHP</application>
     344      development team. This file modifies the default behavior of
     345      <application>PHP</application> if no <filename>/etc/php.ini</filename>
     346      is used and all configuration settings fall to the defaults. You should
     347      review the comments in this file and ensure the changes are acceptable
     348      in your particular environment.</para>
     349
    324350      <para>You may have noticed the following from the output of the
    325351      <command>make install</command> command:</para>
     
    341367AddType application/x-httpd-php .php</literal></screen>
    342368
    343       <para>Also, it can be useful to add an entry for
     369      <para>Additionally, it can be useful to add an entry for
    344370      <filename>index.php</filename> to the DirectoryIndex directive of the
    345       <filename>httpd.conf</filename> file.</para>
     371      <filename>httpd.conf</filename> file. Lastly, adding a line to setup the
     372      <filename class='extension'>.phps</filename> extension to show
     373      highlighted <application>PHP</application> source may be
     374      desirable:</para>
     375
     376<screen><literal>AddType application/x-httpd-php-source .phps</literal></screen>
    346377
    347378      <para>You'll need to restart the <application>Apache</application> web server
     
    362393
    363394      <seglistitem>
    364         <seg>pear, php, php-config, phpextdist, and phpize</seg>
    365         <seg>libphp5.so</seg>
     395        <seg>pear, peardev, pecl, php, php-config and phpize</seg>
     396        <seg>libphp5.so Apache module</seg>
    366397        <seg>/usr/include/php, /usr/lib/php and
    367398        /usr/share/doc/php-&php-version;</seg>
  • introduction/welcome/changelog.xml

    r60cfddd re797436  
    4343
    4444    <listitem>
     45      <para>May 16th, 2006</para>
     46      <itemizedlist>
     47        <listitem>
     48          <para>[randy] - Updated to PHP-5.1.4.</para>
     49        </listitem>
     50      </itemizedlist>
     51    </listitem>
     52
     53    <listitem>
    4554      <para>May 15th, 2006</para>
    4655      <itemizedlist>
Note: See TracChangeset for help on using the changeset viewer.