PHP 7.2.0 Release Candidate 4 Released

HP-UX specific installation notes

This section contains notes and hints specific to installing PHP on HP-UX systems.

There are two main options for installing PHP on HP-UX systems. Either compile it, or install a pre-compiled binary.

Official pre-compiled packages are located here: » http://software.hp.com/

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: » Building Apache and PHP on HP-UX 11.11

add a note add a note

User Contributed Notes 7 notes

up
0
Vinayak
11 years ago
Installing PHP 5.x with Apache 2.x on HP UX 11i and configuring
PHP 5.x with Oracle 9i

I am very glad to share this information to configure PHP 5.x work
with Apache 2.x and Oracle 9i on HP UX 11i.

Step 1: Install Apache 2.x with DSO support:
--------------------------------------------

This is a stratight forward Apache installation with
--enable-so option

gzip -d httpd-2_0_NN.tar.gz
tar xvf httpd-2_0_NN.tar
cd httpd-2_0_NN

./configure \
--prefix=/var/apps/apache2 \
--enable-so \
--enable-mods-shared=most \
--libexecdir=/var/apps/apache2/libexec

You can add other options as required.

make

make install

Step 2: Install and configure PHP 5.x with Oracle 9i
----------------------------------------------------

Edit the ./configure file to change "$OCI8_DIR/lib"dd o"$OCI8_DIR/lib32"oonfigre \
--prefix=/var/apps/apa"conten,---------------,OCI8_DIR/lib32"oowi.x be poia>--doeific e 2.x -----64ss=t o------ibexec brarieg>
make iRunh Oracle 9.>
"/apps/$ refix=/var/apps/apache2 \
--enabllasapps/apach-----apxs2exec

Yous="/apxsapps/apach-----oci8=/o-----br //pd>--enadis\
--enable-modsigchon var/apps/apache2/libexec

You can adapps/apach-----fix=/vte fi-pasmaxec

Youfix=
make iost \
"/apps/ons as required.

make
ons as rwitorkge "/apps/Afa>witruns, yns mu=/vele to chDIR/l b="ch.
"/apps/$ vi re b="ch
"/apps/Ata> 184, yns shoun vdd o"$Oo ch> from:
"/apps/dep bs_-togg_elang" nunkn" cla0_NN.tao"/apps/dep bs_-togg_elang" np PH_5.x"
"/apps/s-sthati
-_lasao copd>perlyl a pre-d.
"/apps/3. Ca pre-cwith binary.o chDIR/s.
"/apps/Runh/>St. notes houn vdlatleotenPHP ="5.
"/apps/$ />Ste
"/apps/Runh/>Sth binary. noteswi.x f
wh coe tquermpts.ork 5.x wpxs.
"/apps/$ />Ste binary.stall and configu3:> ./chp'>f_DIR/lib"includall

href="http:/x-/>./colasa.lasa.la.x ------and PH and PH and PH ------and cone enviss=ing bmitted DureO$APACHE_ROOTus="/envv
You ca:$nHLIB_PATH"and coexiv> nHLIB_PATH------and coLD_LIBRARY_PATHp$ORACLE_HOMEbr //pd>--preand coexiv> LD_LIBRARY_PATH------and coLD_PRELOAD=/usr>--pe blthexte.sl:$ORACLE_HOMEbr //and copd>--pePA_RISC/nguave_thextese b//fr.sland coexiv> LD_PRELOAD------and coAfa>cn wi 2.x, bysource: cedSte
--tesw2.x -----pport:

Step 1: OSInstall ApacheH>peonfiguwi.x savcoynsr14"me!!itle">Us Insef="#63549" clas49" cld="63549">
3538">.g class="user">Vinayak /" class="link externatitl). noch /" clas/buiall.unititl (>Stships.o chd>oldi--prefix=/var/ach-----apxs2exnsl/hpw>
Yus="/apxsache2 \

Yulasa[withzip n ]glad to sharefU Oracle 9iprllingo chrting "ssio: Acoentegi as ssi> ."out >d>yns havcoib"ele to chScript"" Oracle 9".dd> : />--pAPACHE_VERSION=`ssio $4 \* 1000000 + $5 \* 1000 + $6`and Oracle o chource: <(cort/macwiths infls=")h> : />--pAPACHE_VERSION=`$APXS_th PD -v | acti -1 | /fr2-f3 -d' ' | /fr2-f2 -d'/' | awk 'BEGIN { FS = "."; } { prllif "%d"ou($1 * 1000 + $2) * 1000 + $3;}'`glad to sharWhy? nocho hrefeo/>t/jooi -v"iprllingo chource: en"> d_Web_nensUs Insef="#63549" clas49" cld="63549">
0
18596>.g class="user">Vinayak date" title="2006-03-23 04:14">
Installing PHP 5.x witToapux-d HP-U
0.X/ < Classeso r/usr>includa/ titunixin.hcwith> ork < pre-.and PH nochstall.u-teso tes> fromallinulas_ Oracl.h:and co# Classso _addr_t u_llistratight forwchabovco Classsos. s) on medired.Us Insef="#63549" clas49" cld="63549">
up
0
15998>.g class="user">Vinayak date" title="2006-03-23 04:14">
Installing PHP 5.x witadin
<.and PH (I/divnkgo chrting fir=/vc"us-voso rlas_pck ecout ccoen iable_ns Y 1.3.20, bis-so1.28, flexs2.5.4.a.itle">Us Insef="#63549" clas49" cld="63549">
up
14227>ag class="user">Vinayak date" title="2006-03-23 04:14">
Installing PHP 5.x witJu=/va t typ pointdt> ic issOo te: hf yns wantdt> binary.

a>
pa hrUs Insef="#63549" clas49" cld="63549">
up