r5437 - in trunk/BOOK: . general/prog introduction/welcome

randy at linuxfromscratch.org randy at linuxfromscratch.org
Sat Dec 17 05:15:38 PST 2005


Author: randy
Date: 2005-12-17 06:15:36 -0700 (Sat, 17 Dec 2005)
New Revision: 5437

Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/general/prog/php.xml
   trunk/BOOK/introduction/welcome/changelog.xml
Log:
Updated to PHP-5.1.1

Modified: trunk/BOOK/general/prog/php.xml
===================================================================
--- trunk/BOOK/general/prog/php.xml	2005-12-16 17:18:12 UTC (rev 5436)
+++ trunk/BOOK/general/prog/php.xml	2005-12-17 13:15:36 UTC (rev 5437)
@@ -6,10 +6,10 @@
 
   <!ENTITY php-download-http "http://us2.php.net/distributions/php-&php-version;.tar.bz2">
   <!ENTITY php-download-ftp  "ftp://ftp.isu.edu.tw/pub/Unix/Web/PHP/distributions/php-&php-version;.tar.bz2">
-  <!ENTITY php-md5sum        "b5d4ca75bbb11ee5b830fa67213d9f7f">
-  <!ENTITY php-size          "4.7 MB">
-  <!ENTITY php-buildsize     "138 MB">
-  <!ENTITY php-time          "1.9 SBU">
+  <!ENTITY php-md5sum        "70a7c90de182d1a1901c390b844153c7">
+  <!ENTITY php-size          "6.1 MB">
+  <!ENTITY php-buildsize     "204 MB (includes installing all documentation)">
+  <!ENTITY php-time          "2.5 SBU (additional 1.7 SBU to run the test suite)">
 ]>
 
 <sect1 id="php" xreflabel="PHP-&php-version;">
@@ -89,14 +89,19 @@
     <xref linkend="expat"/> (deprecated alternative to <xref linkend="libxml2"/>),
     <ulink url="http://www.ossp.org/pkg/lib/mm/">OSSP mm</ulink>,
     <ulink url="http://www.net-snmp.org/">Net-SNMP</ulink>,
+    <ulink url="http://www.gnu.org/software/pth/">GNU Pth</ulink>,
+    <ulink url="http://re2c.org/">re2c</ulink>,
     <ulink url="http://dmalloc.com/">Dmalloc</ulink>,
     <ulink url="http://www.gnu.org/software/recode/">recode</ulink> and
-    an <ulink url="../server/mail.html">MTA</ulink></para>
+    <xref linkend="sendmail"/> (or another
+    <ulink url="../server/mail.html">MTA</ulink> that provides a
+    <command>sendmail</command> command)</para>
 
     <bridgehead renderas="sect4">Optional Graphics Utilities and Libraries</bridgehead>
     <para role="optional"><xref linkend="libjpeg"/>,
     <xref linkend="libtiff"/>,
     <xref linkend="libpng"/>,
+    <xref linkend="libexif"/>,
     <xref linkend="freetype2"/>,
     X (<xref linkend="xorg"/> or <xref linkend="xfree86"/>),
     <ulink url="http://www.fastio.com/">ClibPDF</ulink>,
@@ -110,6 +115,7 @@
     <xref linkend="html-tidy"/>,
     <ulink url="http://www.mnogosearch.org/">mnoGoSearch</ulink>,
     <ulink url="http://www.hyperwave.com/">Hyperwave</ulink>,
+    <ulink url="http://www.roxen.com/products/webserver/">Roxen WebServer</ulink>,
     <ulink url="http://caudium.net/">Caudium</ulink> and
     <ulink url="http://www.openwddx.org/">WDDX</ulink></para>
 
@@ -145,8 +151,8 @@
 
     <note>
       <para>You can use <application>PHP</application>
-      for server-side scripting, command line scripting or client-side
-      GUI applications. The book provides instructions for
+      for server-side scripting, command-line scripting or client-side
+      GUI applications. This book provides instructions for
       setting up <application>PHP</application> for
       server-side scripting as it is the most common form.</para>
     </note>
@@ -158,16 +164,21 @@
 
     <note>
       <para><application>PHP</application> has many more
-      <command>configure</command> options that will enable support for certain
+      <command>configure</command> options that will enable support for various
       things. You can use <command>./configure --help</command> to see a full
       list of the available options. Also, use of the
       <ulink url="http://www.php.net/">PHP web site</ulink>
       is highly recommended, as their online docs are very good.</para>
     </note>
 
-    <para>Remove the <parameter>--disable-libxml</parameter> switch if you
+    <!-- Commenting this out as libxml is a recommended dependency.
+         Current protocol in the book is to expect folks to have it
+         installed.
+
+    <para>Remove the <parameter>-disable-libxml</parameter> switch if you
     have <xref linkend="libxml2"/> installed otherwise
     <command>pear</command> will not be built.</para>
+    -->
 
     <para>Install <application>PHP</application> by
     running the following commands:</para>
@@ -186,28 +197,33 @@
             --with-gettext \
             --enable-mbstring \
             --with-ncurses \
-            --with-readline \
-            --disable-libxml &&
+            --with-readline &&
 make</userinput></screen>
 
-    <para>To test the results, issue: <command>make test</command>. Note that
-    many of the tests are known to fail.</para>
+    <para>To test the results, issue: <command>make test</command>. Three of
+    the tests are known to fail.</para>
 
     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
 
 <screen role="root"><userinput>make install &&
-cp -v php.ini-recommended /etc/php.ini</userinput></screen>
+install -v -m644 php.ini-recommended /etc/php.ini &&
+install -v -m755 -d /usr/share/doc/php-&php-version; &&
+install -v -m644 CODING_STANDARDS EXTENSIONS INSTALL NEWS \
+                 README* TODO* UPGRADING php.gif \
+    /usr/share/doc/php-&php-version; &&
+ln -v -s /usr/lib/php/doc/Archive_Tar/docs/Archive_Tar.txt \
+    /usr/share/doc/php-&php-version;</userinput></screen>
 
     <para>The pre-built HTML documentation is packaged in two forms: a tarball
     containing many individual files, useful for quick loading into your
-    browser, and a tarball of one large file, which is useful for using the
-    search utility of your browser. If you downloaded any of the documentation,
-    the instructions below can be issued by the
-    <systemitem class='username'>root</systemitem> user to install it (note
+    browser, and one large individual file, which is useful for using the
+    search utility of your browser. If you downloaded either, or both, of the
+    documentation files, issue the following commands as the
+    <systemitem class='username'>root</systemitem> user to install them (note
     these instructions assume English docs, modify the tarball names below if
     necessary).</para>
 
-    <para>For the <quote>Single HTML</quote> tarball:</para>
+    <para>For the <quote>Single HTML</quote> file:</para>
 
 <screen role="root"><userinput>install -v -m644 ../php_manual_en.html.gz \
     /usr/share/doc/php-&php-version; &&
@@ -215,8 +231,7 @@
 
     <para>For the <quote>Many HTML files</quote> tarball:</para>
 
-<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/php-&php-version; &&
-tar -xvf ../php_manual_en.tar.gz -C /usr/share/doc/php-&php-version; &&
+<screen role="root"><userinput>tar -xvf ../php_manual_en.tar.gz -C /usr/share/doc/php-&php-version; &&
 chown -v -R root:root /usr/share/doc/php-&php-version;/html</userinput></screen>
 
   </sect2>
@@ -228,8 +243,9 @@
       builds the Apache HTTPD 2.0 module.</para>
 
       <para><parameter>--with-config-file-path=/etc</parameter>: This parameter
-      puts the <filename>php.ini</filename> configuration file in <filename
-      class='directory'>/etc</filename>.</para>
+      makes <application>PHP</application> look for the
+      <filename>php.ini</filename> configuration file in
+      <filename class='directory'>/etc</filename>.</para>
 
       <para><parameter>--with-zlib</parameter>: This parameter adds
       support for <application>Zlib</application> compression.</para>
@@ -265,7 +281,7 @@
       enables command line <application>Readline</application> support.</para>
 
       <para><parameter>--disable-libxml</parameter>: This parameter
-      allows building PHP without <application>Libxml2</application>
+      allows building PHP without <application>libxml2</application>
       installed.</para>
 
   </sect2>
@@ -276,7 +292,7 @@
     <sect3 id="php-config">
       <title>Config Files</title>
 
-      <para><filename>/etc/php.ini</filename>,
+      <para><filename>/etc/php.ini</filename> and
       <filename>/etc/pear.conf</filename></para>
 
       <indexterm zone="php php-config">
@@ -334,7 +350,8 @@
       <seglistitem>
         <seg>pear, php, php-config, phpextdist, and phpize</seg>
         <seg>libphp5.so</seg>
-        <seg>/usr/include/php and /usr/lib/php</seg>
+        <seg>/usr/include/php, /usr/lib/php and
+        /usr/share/doc/php-&php-version;</seg>
       </seglistitem>
     </segmentedlist>
 

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2005-12-16 17:18:12 UTC (rev 5436)
+++ trunk/BOOK/general.ent	2005-12-17 13:15:36 UTC (rev 5437)
@@ -1,4 +1,4 @@
-<!ENTITY day          "16">
+<!ENTITY day          "17">
 <!ENTITY month        "12">
 <!ENTITY year         "2005">
 <!ENTITY version      "svn-&year;&month;&day;">
@@ -158,7 +158,7 @@
 <!ENTITY librep-version               "0.17">
 <!ENTITY NASM-version                 "0.98.39">
 <!ENTITY pdl-version                  "2.4.2">
-<!ENTITY php-version                  "5.0.5">
+<!ENTITY php-version                  "5.1.1">
 <!ENTITY Python-version               "2.4.2">
 <!ENTITY pyxml-version                "0.8.4">
 <!ENTITY ruby-version                 "1.8.3">

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2005-12-16 17:18:12 UTC (rev 5436)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2005-12-17 13:15:36 UTC (rev 5437)
@@ -42,6 +42,15 @@
 -->
 
     <listitem>
+      <para>December 17th, 2005</para>
+      <itemizedlist>
+        <listitem>
+          <para>[randy] - Updated to PHP-5.1.1.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>December 16th, 2005</para>
       <itemizedlist>
         <listitem>




More information about the blfs-book mailing list