cvs: phpdoc-he /chapters install.hpux.xml
[email protected] ("Hadar Porat") Thu, 17 Jul 2003 19:26:03 -0000
| Newsgroups | php.doc.he |
|---|---|
| Message-ID | <cvshadar_p1058469963@cvsserver> |
hadar_p Thu Jul 17 15:26:03 2003 EDT
Modified files:
/phpdoc-he/chapters install.hpux.xml
Log:
Updated to reflect latest English version
Index: phpdoc-he/chapters/install.hpux.xml
diff -u phpdoc-he/chapters/install.hpux.xml:1.2 phpdoc-he/chapters/install.hpux.xml:1.3
--- phpdoc-he/chapters/install.hpux.xml:1.2 Sat May 17 15:40:08 2003
+++ phpdoc-he/chapters/install.hpux.xml Thu Jul 17 15:26:03 2003
@@ -1,89 +1,118 @@
-<?xml version="1.0" encoding="WINDOWS-1255"?>
-<!-- HE-Revision: 1.1 Maintainer: Hadar Porat Status: Ready -->
+<?xml version="1.0" encoding="iso-8859-1"?>
+<!-- $Revision: 1.4 $ -->
+<!-- HE-Revision: 1.00 Maintainer: hadar_p Status: complete -->
<sect1 id="install.hpux">
<title>äú÷ðåú ùì Unix/HP-UX</title>
<para>
- çì÷ æä îëéì äòøåú åòöåú ñôöéôéåú ìäú÷ðú PHP òì
- îòøëåú HP-UX.
+ çì÷ æä îëéì äòøåú åòöåú ñôöéôéåú ìäú÷ðú PHP áîòøëåú HP-UX.
+ (ðúøí ò"é paul_mckay î- clearwater-it dot co dot uk).
</para>
- <example id="install.hpux.example">
- <title>
- äåøàåú äú÷ðä ùì HP-UX 10
- </title>
- <screen>
-<![CDATA[
-<div dir="ltr">
-From: [email protected]
-04-Jan-2001 09:49
-(These tips are for PHP 4.0.4 and Apache v1.3.9)
-
-So you want to install PHP and Apache on a HP-UX 10.20 box?
-
-1. You need gzip, download a binary distribution from
-http://hpux.connect.org.uk/ftp/hpux/Gnu/gzip-1.2.4a/gzip-1.2.4a-sd-10.20.depot.Z
-uncompress the file and install using swinstall
-
-2. You need gcc, download a binary distribution from
-http://gatekeep.cs.utah.edu/ftp/hpux/Gnu/gcc-2.95.2/gcc-2.95.2-sd-10.20.depot.gz
-gunzip this file and install gcc using swinstall.
-
-3. You need the GNU binutils, you can download a binary distribution from
-http://hpux.connect.org.uk/ftp/hpux/Gnu/binutils-2.9.1/binutils-2.9.1-sd-10.20.depot.gz
-gunzip and install using swinstall.
-
-4. You now need bison, you can download a binary distribution from
-http://hpux.connect.org.uk/ftp/hpux/Gnu/bison-1.28/bison-1.28-sd-10.20.depot.gz
-install as above.
-
-5. You now need flex, you need to download the source from one of the
-http://www.gnu.org mirrors. It is in the <filename>non-gnu</filename> directory of the ftp site.
-Download the file, gunzip, then tar -xvf it. Go into the newly created flex
-directory and do a ./configure, then a make, and then a make install
-
-If you have errors here, it's probably because gcc etc. are not in your
-PATH so add them to your PATH.
-
-Right, now into the hard stuff.
-
-6. Download the PHP and apache sources.
-
-7. gunzip and tar -xvf them.
-
-We need to hack a couple of files so that they can compile ok.
-
-8. Firstly the configure file needs to be hacked because it seems to lose
-track of the fact that you are a hpux machine, there will be a
-better way of doing this but a cheap and cheerful hack is to put
- lt_target=hpux10.20
-on line 47286 of the configure script.
-
-9. Next, the Apache GuessOS file needs to be hacked. Under
-apache_1.3.9/src/helpers change line 89 from
- "echo "hp${HPUXMACH}-hpux${HPUXVER}"; exit 0"
-to:
- "echo "hp${HPUXMACH}-hp-hpux${HPUXVER}"; exit 0"
-
-10. You cannot install PHP as a shared object under HP-UX so you must compile
-it as a static, just follow the instructions at the Apache page.
-
-11. PHP and apache should have compiled OK, but Apache won't start. you need
-to create a new user for Apache, eg www, or apache. You then change lines 252
-and 253 of the conf/httpd.conf in Apache so that instead of
- User nobody
- Group nogroup
-you have something like
- User www
- Group sys
-
-This is because you can't run Apache as nobody under hp-ux.
-Apache and PHP should then work.
-
-Hope this helps somebody,
-Paul Mckay.
-</div>
-]]>
- </screen>
- </example>
+ <note>
+ <simpara>
+ èéôéí àìä ðëúáå áùáéì PHP 4.0.4 å- Apache 1.3.9.
+ </simpara>
+ </note>
+ <para>
+ <orderedlist>
+ <listitem>
+ <para>
+ àúä æ÷å÷ ì- gzip, äåøã àú ääôöä äáéðàøéú î-
+ <filename>http://hpux.connect.org.uk/ftp/hpux/Gnu/gzip-1.2.4a/gzip-1.2.4a-sd-10.20.depot.Z</filename>
+ ôúç àú ä÷åáõ åäú÷ï àåúå áàîöòåú swinstall.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ àúä æ÷å÷ ì- gcc, äåøã àú ääôöä äáéðàøéú î-
+ <filename>http://gatekeep.cs.utah.edu/ftp/hpux/Gnu/gcc-2.95.2/gcc-2.95.2-sd-10.20.depot.gz</filename>.
+ ôúç àú ä÷åáõ åäú÷ï àåúå áàîöòåú swinstall.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ àúä æ÷å÷ ì- GNU binutils, äåøã àú ääôöä äáéðàøéú î-
+ <filename>http://hpux.connect.org.uk/ftp/hpux/Gnu/binutils-2.9.1/binutils-2.9.1-sd-10.20.depot.gz</filename>.
+ ôúç àú ä÷åáõ åäú÷ï àåúå áàîöòåú swinstall.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ òëùéå àúä æ÷å÷ ì- bison, àúä éëåì äåøéã àú ääôöä äáéðàøéú î-
+ <filename>http://hpux.connect.org.uk/ftp/hpux/Gnu/bison-1.28/bison-1.28-sd-10.20.depot.gz</filename>,
+ åìäú÷éï ëîå ìîòìä.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ òëùéå àúä æ÷å÷ ì- flex, àúä öøéê ìäåøéã àú ÷åã äî÷åø îàçã îùøúé äøàé ùì
+ http://www.gnu.org. æä ÷ééí áúé÷ééú non-gnu áúåê àúø ä- FTP.
+ äåøã àú ä÷åáõ, <command>gunzip</command>, åàæ áöò <command>tar -xvf</command>
+ òìéå. ëðñ ìúåê ñôøééä ä- flex äçãùä ùðåöøä, äøõ <command>./configure</command>,
+ àçøéå <command>make</command>, åìàçø îëï <command>make install</command>.
+ </para>
+ <para>
+ àí ÷éáìú ùâéàåú âàï, æä ëðøàä îùåí ù- gcc etc. ìà ðîöàéí áúåê ä- PATH ùìê
+ ìëï äåñó àåúí ìúåê ä- PATH ùìê.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ äåøã àú ÷åã äî÷åø ùì PHP åùì Apache.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ áöò <command>gunzip</command> å- <command>tar -xvf</command> òìéäí. àðçðå
+ öøéëéí ìùðåú îñôø ÷áöéí òì îðú ùäí éåëìå ìäú÷îôì áöåøä øâéìä.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ øàùéú ÷åáõ ääâãøåú öøéê ìäùúðåú îùåí ùæä ðøàä ùäåà ìà éåãò ùàúä
+ îùúîù áîçùá hpux, éùðä ùéèä èåáä éåúø ìòùåú àú æä, àáì äëé îäéø
+ åôùåè æä ìäëðéñ <literal>lt_target=hpux10.20</literal> ìúåê ùåøä
+ 47286 áñ÷øéôè ääâãøåú.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ ìàçø îëï, ÷åáõ Apache GuessOS öøéê ìäùúðåú. úçú
+ <filename>apache_1.3.9/src/helpers</filename> ùðä àú ùåøä 89 î-
+ <literal>echo "hp${HPUXMACH}-hpux${HPUXVER}"; exit 0</literal> àì:
+ <literal>echo "hp${HPUXMACH}-hp-hpux${HPUXVER}"; exit 0</literal>
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ àúä ìà éëåì ìäú÷éï àú PHP ëàåáéé÷è îùåúó úçú HP-HX àæ àúä öøéê ì÷îôì
+ àåúå áöåøä ñèèéú, àæ ò÷åá àçøé ääåøàåú áòîåã ùì ä- Apache.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ PHP å- Apache öøéëéí ìäú÷îôì áñãø, àáì Apache ìà éúçéì. àú æ÷å÷
+ ìéöåø îùúîù çãù òáåø Apache, ìîùì www, àå apache. àæ àúä úùðä
+ ùåøåú 252 å- 253 ùì <filename>conf/httpd.conf</filename> áúåê
+ Apache ùáî÷åí
+ </para>
+ <screen>
+User nobody
+Group nogroup
+ </screen>
+ <para>
+ éäéä ìê îùäå ëæä
+ </para>
+ <screen>
+User www
+Group sys
+ </screen>
+ <para>
+ æä ÷åøä îùåí ùàúä ìà éëåì ìäøéõ àú Apache ë- nobody úçú hp-ux. Apache
+ å- PHP àæ öøéëéí ìòáåã.
+ </para>
+ </listitem>
+ </orderedlist>
+ </para>
</sect1>