mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
some tagging, minor rewording
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@133057 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
9e0d3001e5
commit
2cf32db3ac
1 changed files with 17 additions and 16 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<sect1 id="install.hpux">
|
||||
<title>Unix/HP-UX installs</title>
|
||||
<para>
|
||||
|
@ -18,37 +18,38 @@
|
|||
<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
|
||||
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>.
|
||||
gunzip this file and install gcc using swinstall.
|
||||
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>.
|
||||
gunzip and install using swinstall.
|
||||
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.
|
||||
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, gunzip, then <literal>tar -xvf</literal> it.
|
||||
Go into the newly created flex directory and do a ./configure, then a
|
||||
make, and then a make install
|
||||
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
|
||||
|
@ -62,8 +63,8 @@
|
|||
</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.
|
||||
<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>
|
||||
|
@ -72,19 +73,19 @@
|
|||
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.
|
||||
script.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Next, the Apache GuessOS file needs to be hacked. Under
|
||||
apache_1.3.9/src/helpers change line 89 from <literal>echo
|
||||
<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>
|
||||
<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.
|
||||
|
@ -94,8 +95,8 @@
|
|||
<para>
|
||||
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
|
||||
change lines 252 and 253 of the <filename>conf/httpd.conf</filename> in
|
||||
Apache so that instead of
|
||||
</para>
|
||||
<screen>
|
||||
User nobody
|
||||
|
@ -109,7 +110,7 @@ User www
|
|||
Group sys
|
||||
</screen>
|
||||
<para>
|
||||
This is because you can't run Apache as nobody under hp-ux. Apache and
|
||||
This is because you can't run Apache as nobody under hp-ux. Apache and
|
||||
PHP should then work.
|
||||
</para>
|
||||
</listitem>
|
||||
|
|
Loading…
Reference in a new issue