cvs: phpdoc /en/install/unix hpux.xml /entities global.ent
| From: | Philip Olson | Date: | Mon, 29 Jan 2007 03:14:06 +0000 |
| Subject: | cvs: phpdoc /en/install/unix hpux.xml /entities global.ent | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969375078@lists.php.net to get a copy of this message | ||
philip Mon Jan 29 03:14:06 2007 UTC
Modified files:
/phpdoc/entities global.ent
/phpdoc/en/install/unix hpux.xml
Log:
Remove outdated HP-UX install information, and link to external resources.
This deals with bug #23714
http://cvs.php.net/viewvc.cgi/phpdoc/entities/global.ent?r1=1.283&r2=1.284&diff_format=u
Index: phpdoc/entities/global.ent
diff -u phpdoc/entities/global.ent:1.283 phpdoc/entities/global.ent:1.284
--- phpdoc/entities/global.ent:1.283 Mon Jan 22 20:47:57 2007
+++ phpdoc/entities/global.ent Mon Jan 29 03:14:05 2007
@@ -1,6 +1,6 @@
<!-- -*- SGML -*-
- $Id: global.ent,v 1.283 2007/01/22 20:47:57 didou Exp $
+ $Id: global.ent,v 1.284 2007/01/29 03:14:05 philip Exp $
Contains global "macros" for all the XML documents.
@@ -115,6 +115,8 @@
<!ENTITY url.gnu.configure "http://www.airs.com/ian/configure/">
<!ENTITY url.gnu.man.date-input "http://www.gnu.org/software/tar/manual/html_node/tar_109.html">
<!ENTITY url.halcyon "http://www.halcyonsoft.com/">
+<!ENTITY url.hp.software "http://software.hp.com/">
+<!ENTITY url.hpux.installguide "http://www.tekwire.net/joomla/building/apache/comp_apache_hpux11.11.htm">
<!ENTITY spec.http1.1 'http://www.w3.org/Protocols/rfc2616/rfc2616'>
<!ENTITY spec.soap1.1 'http://www.w3.org/TR/soap11/'>
<!ENTITY spec.soap1.2 'http://www.w3.org/TR/soap12/'>
http://cvs.php.net/viewvc.cgi/phpdoc/en/install/unix/hpux.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/install/unix/hpux.xml
diff -u phpdoc/en/install/unix/hpux.xml:1.1 phpdoc/en/install/unix/hpux.xml:1.2
--- phpdoc/en/install/unix/hpux.xml:1.1 Tue Jun 8 21:47:58 2004
+++ phpdoc/en/install/unix/hpux.xml Mon Jan 29 03:14:06 2007
@@ -1,122 +1,25 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.1 $ -->
- <sect1 id="install.unix.hpux">
- <title>HP-UX specific installation notes</title>
- <para>
- This section contains notes and hints specific to installing PHP
- on HP-UX systems. (Contributed by paul_mckay at clearwater-it dot co dot
- uk).
- </para>
- <note>
- <simpara>
- These tips were written for PHP 4.0.4 and Apache 1.3.9.
- </simpara>
- </note>
- <para>
- <orderedlist>
- <listitem>
- <para>
- You need gzip, download a binary distribution from
- <filename>http://hpux.connect.org.uk/ftp/hpux/Gnu/gzip-1.2.4a/gzip-1.2.4a-sd-10.20.depot.Z</filename>
- uncompress the file and install using swinstall.
- </para>
- </listitem>
- <listitem>
- <para>
- You need gcc, download a binary distribution from
- <filename>http://gatekeep.cs.utah.edu/ftp/hpux/Gnu/gcc-2.95.2/gcc-2.95.2-sd-10.20.depot.gz</filename>.
- uncompress this file and install gcc using swinstall.
- </para>
- </listitem>
- <listitem>
- <para>
- You need the GNU binutils, you can download a binary distribution from
- <filename>http://hpux.connect.org.uk/ftp/hpux/Gnu/binutils-2.9.1/binutils-2.9.1-sd-10.20.depot.gz</filename>.
- uncompress this file and install binutils using swinstall.
- </para>
- </listitem>
- <listitem>
- <para>
- You now need bison, you can download a binary distribution from
- <filename>http://hpux.connect.org.uk/ftp/hpux/Gnu/bison-1.28/bison-1.28-sd-10.20.depot.gz</filename>,
- install as above.
- </para>
- </listitem>
- <listitem>
- <para>
- You now need flex, you need to download the source from one of the
- http://www.gnu.org mirrors. It is in the non-gnu directory
of the ftp
- site. Download the file, <command>gunzip</command>, then
- <command>tar -xvf</command> it. Go into the newly created flex directory
- and run <command>./configure</command>, followed by
- <command>make</command>, and then <command>make install</command>.
- </para>
- <para>
- If you have errors here, it's probably because gcc etc. are not in your
- PATH so add them to your PATH.
- </para>
- </listitem>
- <listitem>
- <para>
- Download the PHP and apache sources.
- </para>
- </listitem>
- <listitem>
- <para>
- <command>gunzip</command> and <command>tar -xvf</command> them. We
- need to hack a couple of files so that they can compile OK.
- </para>
- </listitem>
- <listitem>
- <para>
- 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
- <literal>lt_target=hpux10.20</literal> on line 47286 of the configure
- script.
- </para>
- </listitem>
- <listitem>
- <para>
- Next, the Apache GuessOS file needs to be hacked. Under
- <filename>apache_1.3.9/src/helpers</filename> change line 89 from
<literal>echo
- "hp${HPUXMACH}-hpux${HPUXVER}"; exit 0</literal> to: <literal>echo
- "hp${HPUXMACH}-hp-hpux${HPUXVER}"; exit 0</literal>
- </para>
- </listitem>
- <listitem>
- <para>
- 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.
- </para>
- </listitem>
- <listitem>
- <para>
- PHP and Apache should have compiled OK, but Apache won't start. you
- need to create a new user for Apache, e.g. www, or apache. You then
- change lines 252 and 253 of the <filename>conf/httpd.conf</filename> in
- Apache so that instead of
- </para>
- <screen>
-User nobody
-Group nogroup
- </screen>
- <para>
- you have something like
- </para>
- <screen>
-User www
-Group sys
- </screen>
- <para>
- This is because you can't run Apache as nobody under hp-ux. Apache and
- PHP should then work.
- </para>
- </listitem>
- </orderedlist>
+<!-- $Revision: 1.2 $ -->
+<sect1 id="install.unix.hpux">
+ <title>HP-UX specific installation notes</title>
+ <para>
+ This section contains notes and hints specific to installing PHP
+ on HP-UX systems.
+ </para>
+ <para>
+ There are two main options for installing PHP on HP-UX systems. Either
+ compile it, or install a pre-compiled binary.
+ </para>
+ <para>
+ Official pre-compiled packages are located here:
+ <ulink url="&url.hp.software;">&url.hp.software;</ulink>
+ </para>
+ <para>
+ Until this manual section is rewritten, the documentation about compiling
+ PHP (and related extensions) on HP-UX systems has been removed. For now,
+ consider reading the following external resource:
+ <ulink url="&url.hpux.installguide;">Building Apache and PHP on HP-UX
11.11</ulink>
</para>
-
</sect1>
<!-- Keep this comment at the end of the file