1830624 Members
1960 Online
110015 Solutions
New Discussion

PHP for HP_UX 11i

 
SOLVED
Go to solution
Jeddel Yeras
Advisor

PHP for HP_UX 11i

Hello,

Does anyone know where I can download PHP binaries for a PA-RISC based HP_UX box?

Thanks in advance!

J.
8 REPLIES 8
Mark Greene_1
Honored Contributor
Solution

Re: PHP for HP_UX 11i

You get them from the PHP home page:

http://www.php.net/downloads.php

You need GCC to compile them, which you can get ready-made for HP-UX here:

http://hpux.cs.utah.edu/hppd/hpux/Gnu/gcc-3.2/

mark
the future will be a lot like now, only later
Jeddel Yeras
Advisor

Re: PHP for HP_UX 11i

Thanks, Mark!

I'm new to HP_UX so I'm used to having binaries already made for me... I didn't know I had to compile the source myself. Thanks again! :)
Mark Greene_1
Honored Contributor

Re: PHP for HP_UX 11i

The PHP folks only distribute source, which undoubtably makes life easier for them.

The second link I gave is the usual suspect for any third-party software in HP .depot format, or at least tar'd HP binaries. However, they don't have a PHP binary in either format listed.

So, if you're looking for your 15 minutes of geek fame, once you build the PHP binaries, you can contact one of these folks:

http://hpux.cs.utah.edu/hppd/answers/2-1.html

and see about adding PHP to the HP Porting Centre.

Good luck with it,
mark
the future will be a lot like now, only later
Mark Greene_1
Honored Contributor

Re: PHP for HP_UX 11i

Also, welcome to the Forums!

When you have time, check this out:

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x022718276953d61190040090279cd0f9,00.html

The link in the first post will provide a few pointers about posting and reading here. You'll find that there are many people who are regular contributors here that freely share of their time and expertise. I know my job is much easier that it otherwise would be for having access to the information I find here.

mark
the future will be a lot like now, only later
benoit Bruckert
Honored Contributor

Re: PHP for HP_UX 11i

Hi,
I will just complete Mark answer,
PHP can be run as a script interpretor (in this case binary distribution can be made), but in most of the cases, PHP is used with an http server (Apache), and in this case, it's better to built it with Apache (in the same binary file).
Plus, PHP is made with a lot of modules to access any databases you want, If you want to compile all the modules, you will have a very big binary or many many lib/objects files, then it's easier to build it with just the option you need...

To compile PHP, download APache sources and PHP sources, the gnu gcc compiler + dependencies, read the INSTALL file from the PHP tar file, and have fun....
Feel free to ask more questions about PHP on HP-UX...

regards
Benoit
Une application mal pansée aboutit à une usine à gaze (GHG)
RolandH
Honored Contributor

Re: PHP for HP_UX 11i

Hi Jeddel,

if you need PHP for the web stuff, then you can install the new Apache Depot provided by HP.

see this site -->http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=HPUXWSATW100601


HTH
Roland
Sometimes you lose and sometimes the others win
RolandH
Honored Contributor

Re: PHP for HP_UX 11i

Hi Jeddel, (again)

have not found any sites where yiu can download binaries for HPUX. But here is a site where you get a lot of hints how you must compile your php.

--> http://php.planetmirror.com/manual/en/install.hpux.php

HTH
Roland
Sometimes you lose and sometimes the others win
Jeddel Yeras
Advisor

Re: PHP for HP_UX 11i

Thanks guys!

Well... I started downloading some depot's from the sites you listed and came across a problem. swinstall gives me an error message when I point to the depot indicating that I do not have sufficient rights to install these. I'm not sure how to get around this since I am logging in as root.

Any suggestions?

J.