git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@39487 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Ron Chmara 2001-01-14 23:51:32 +00:00
parent cac029207c
commit 9ecbf4f9c1

View file

@ -199,11 +199,11 @@ http://hpux.connect.org.uk/ftp/hpux/Gnu/binutils-2.9.1/binutils-2.9.1-sd-10.20.d
gunzip and install using swinstall.
3. You now need bison, you can download a binary distribution from
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.
4. You now need flex, you need to download the source from one of the
5. 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 tar -xvf it. Go into the newly created flex
directory and do a ./configure, then a make, and then a make install
@ -213,28 +213,28 @@ PATH so add them to your PATH.
Right, now into the hard stuff.
5.Download the PHP and apache sources.
6.Download the PHP and apache sources.
6.gunzip and tar -xvf them.
7.gunzip and tar -xvf them.
We need to hack a couple of files so that they can compile ok.
7. Firstly the configure file needs to be hacked because it seems to lose
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.
8. Next, the apache GuessOS file needs to be hacked. Under
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"
9. You cannot install PHP as a shared object under HP-UX so you must compile
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.
10. PHP and apache should have compiled OK, but apache won't start. you need
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
@ -2776,7 +2776,7 @@ Paul Mckay.
<listitem>
<simpara>
<link linkend="install.windows.manual">Manual Setup</link>
directions are also available..
directions are also available.
</simpara>
</listitem>
</itemizedlist>