Operating System - HP-UX
1830226 Members
1562 Online
109999 Solutions
New Discussion

Where can I find Apache with PHP4 module for HPUX ?

 
SOLVED
Go to solution
Herve BRANGIER
Respected Contributor

Where can I find Apache with PHP4 module for HPUX ?


Hi all

I know it's a stupid question but do you know
where I can find a depot with Apache + PHP4
module for HPUX 11.00 ?

Thx

Herv?

7 REPLIES 7
John Poff
Honored Contributor

Re: Where can I find Apache with PHP4 module for HPUX ?

Hello,

Try this link. It didn't say if they charge anything for it. If this isn't what you are looking for, you'll probably have to get the source and roll your own.

Have fun!

JP

http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B9415AAPA1319
John Poff
Honored Contributor

Re: Where can I find Apache with PHP4 module for HPUX ?

I forgot to mention, it is for version 1.3.19 of Apache and 4.0.4pl1 of PHP.
Herve BRANGIER
Respected Contributor

Re: Where can I find Apache with PHP4 module for HPUX ?


Thanks John,

This links is good... if you want to purchase
the product :-(( That's my problem, I come
from Linux world and I prefer real free
softwares. So if someone know where I can find
Apache + PHP module FREELY ....

Thanx by advance...

Herv?

Rainer von Bongartz
Honored Contributor
Solution

Re: Where can I find Apache with PHP4 module for HPUX ?



You dont't have to buy ,IT'S FREE
klick try now !!!!!!
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Herve BRANGIER
Respected Contributor

Re: Where can I find Apache with PHP4 module for HPUX ?


Hello Rainer,

I thought that "Try now" is to download trial
version. I become to download this product, but
in the type row it's seems that it's really a
trial version ...???

But I can't find any duration or price so you
seem to be right...

Thx

Herv?



Mauro_8
Frequent Advisor

Re: Where can I find Apache with PHP4 module for HPUX ?

Hi,

and for HP-UX 10.20 ?

Regards,
Mauro
Nicolas Portais
Frequent Advisor

Re: Where can I find Apache with PHP4 module for HPUX ?

Hi,

on http://software.hp.com, there isn't apache 1.3 with PHP.

but it's so easy to compile it:

you need (http://hpux.connect.org.uk/):
- gcc
- bison
- flex
- GNU binutils
- perl

to compile apache + php:

a) static (prefix=/opt/apache-php)

$ cd ../apache_1.3.26
$ ./configure --prefix=/opt/apache-php --with-perl=/opt/perl/bin/perl

$ cd ../php-4.2.3
$ ./configure --with-apache=../apache_1.3.26
$ make
(root) $ make install
$ cd ../apache_1.3.26
$ ./configure --prefix=/opt/apache-php --activate-module=src/modules/php4/libphp4.a
$ make
(root) $ make install

$ cd ../php-4.x.y
$ cp php.ini-dist /usr/local/lib/php.ini

b) dynamic (DSO)

$ ./configure --with-apxs=/opt/apache/bin/apxs
$ make
$ make install

if you get this error:

apxs:Error: file libs/libphp4.sl is not a DSO
*** Error exit code 1

$ mv libs/libphp4.sl libs/libphp4.so
$ /opt/apache/bin/apxs -i -a -n php4 libs/libphp4.so

c) add in the httpd.conf:

User www
Group other
AddType application/x-httpd-php .php
#AddType application/x-httpd-php3 .php3

Nicolas