Operating System - HP-UX
1833059 Members
2719 Online
110049 Solutions
New Discussion

Re: HP-UX Web Server Suite - PHP but without Informix

 
Steven_181
Advisor

HP-UX Web Server Suite - PHP but without Informix

Hi All,

We have installed the HP-UX Web Server Suite with apache 2.x version, php and etc.

After reading some documents the standard HP-UX Web Server Suite with PHP only support Oracle, Mysql database extension but not Informix.

Anyone knows how to get the Informix extension so that I can connect to my Informix database.

Thanks
Steven
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: HP-UX Web Server Suite - PHP but without Informix

Shalom Steven,

Nice name.

Its a standard apache port, so if you follow the instructions and install the Informix extension most likely it will work.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Martin Hejtmanek
New Member

Re: HP-UX Web Server Suite - PHP but without Informix

Hi Steven,

You may compile apache and php with informix support.

When you compiling php it's option --with-informix[=DIR] in configure.

--with-informix[=DIR] Include Informix support. DIR is the Informix base install directory, defaults to nothing.

Regards

Martin
Steven_181
Advisor

Re: HP-UX Web Server Suite - PHP but without Informix

Unfortunately I am not sure where to find the instruction on how to activate the informix into the standard HP-UX webserver suite.

Any ideas...
Rainer von Bongartz
Honored Contributor

Re: HP-UX Web Server Suite - PHP but without Informix

Steven,

take a look at the IBM document

'A step-by-step how-to guide to install, configure, and test a Linux, Apache, Informix, and PHP server'

and I think this will solve your problems

http://www-128.ibm.com/developerworks/db2/library/techarticle/dm-0606bombardier/

Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Rajeev  Shukla
Honored Contributor

Re: HP-UX Web Server Suite - PHP but without Informix

If Apache + PHP is already installed then you cant connect to Informix unless you install the Informix integration in PHP at the time of compilation.
You need to get the source code of PHP and recompile using informix i.e
./configure --with-apxs2=/usr/sbin/apxs --with-informix=/usr/informix
then make and then make install
This will build your PHP with Informix and then link it to Apache so when you tun the
you'll see Informix in there.