1752579 Members
3105 Online
108788 Solutions
New Discussion юеВ

PHP installation problem

 
SOLVED
Go to solution
Legolas_1
New Member

PHP installation problem

Hi all,

I tried to install the php-5.1.4 on my server [HP-UX 11.23 ia64 (itanium machine)] but failed. Kindly please help me.

Below are what I have installed:

1) IBM Informix Dynamic Server Version 9.40.FC7
2) GNU_C_C++ (4.1.0)
3) Perl5-32 (D.5.8.3.D, The 32 Bit Perl Programming Language with Extensions)
4) Perl5-64 (D.5.8.3.D, The 64 Bit Perl Programming Language with Extensions)
5) bison (2.1, bison)
6) flex (2.5.4a, flex)
7) gettext (0.14.6, gettext)
8) libiconv (1.10, libiconv)
9) libxml2 (2.6.23, libxml2)
10) m4 (1.4.4, m4)
11) make (3.80, make)
12) zlib (1.2.3, zlib)
13) Apache (2.2.2)

My configuration command for apache:

./configure --enable-module=all --enable-shared=max --prefix=/test/gk/apache --enable-so

My configuration command for PHP:

./configure --with-apxs2=[path-to-apxs] --with-informix=$INFORMIXDIR --disable-pear --diable-cli

This is the error message that I got while building PHP:

libtool: link: cannot build libtool library `libphp5.la' from non-libtool objects on this host: /apps/informix94/lib/esql/checkapi.o

Thanks in advance or your help!
7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: PHP installation problem

Shalom,

You don't need to compile PHP.

http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXWSATW215

Thats the hpws, which includes PHP. If you search http://software.hp.com for hpws you will get no less than 20 different options, one of which almost certainly includes the version of PHP you need.

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
Legolas_1
New Member

Re: PHP installation problem

Hi SEP,

Actually, we already have the following softwares in our bundles:

hpuxwsApache (B.2.0.55.02, HP-UX Apache-based Web Server)
hpuxwsTomcat (B.5.5.9.03, HP-UX Tomcat-based Servlet Engine)
hpuxwsWebmin (A.1.070.07, HP-UX Webmin-based Admin)
hpuxwsXml (A.2.00, HP-UX XML Web Server Tools)

However, the current PHP does not have any informix extension, so our PHP scripts could not connect to the informix server.

Our informix server is 64 bit. May I know is there any depot which has apache + php + informix extension for 64 bit server?

Can a 64 bit informix extension connect to a 32 bit informix server also?

Thanks a lot.
Arunvijai_4
Honored Contributor

Re: PHP installation problem

Hi,

Our informix server is 64 bit. May I know is there any depot which has apache + php + informix extension for 64 bit server?

I dont think HP Webserver comes with Informix extension. You need to build it externally.


Can a 64 bit informix extension connect to a 32 bit informix server also?

Nope. 64bit will work only with 64 bit apache. There is no interoperability.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Legolas_1
New Member

Re: PHP installation problem

Hi all,

I got this error message while building PHP:

libtool: link: cannot build libtool library `libphp5.la' from non-libtool objects on this host: /apps/informix94/lib/esql/checkapi.o

Any ideas?

Does anyone have any doc related to this kind of php installation (install php in itanium server with 64 bit informix extension)?

If I need to connect to 32bit and also 64bit informix server, what I should do?

My local informix server is 64 bit.
I may also need to connect to an external informix server which is 32 bit.

Is there any way?

Thanks a lot.
Arunvijai_4
Honored Contributor
Solution

Re: PHP installation problem

Hi,

libtool: link: cannot build libtool library `libphp5.la' from non-libtool objects on this host: /apps/informix94/lib/esql/checkapi.o

Any ideas?

Sometimes, You may need to edit libtool to get rid of these error messages. Also, post your question to PHP-mailing lists. They should be able to tell you what exactly you need to do, http://www.php.net/mailing-lists.php

Does anyone have any doc related to this kind of php installation (install php in itanium server with 64 bit informix extension)?

If I need to connect to 32bit and also 64bit informix server, what I should do?

You may need to have a connector (?) for this.

My local informix server is 64 bit.
I may also need to connect to an external informix server which is 32 bit.

Is there any way?

What i meant to say is, If you compile a module in 64 bit, you cant run the same module under 32 bit server. But, you can connect 32 bit and 64 bit instances.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Legolas_1
New Member

Re: PHP installation problem

Hi all,

Kindly please continue to support me on this problem. Any kind of advice, suggestion, documents, tutorials are mostly welcome. I am still in the midst of solving it. Time is running out. My superior is keep asking me when my system can be launched. The sad thing is until now I still cant get PHP installed in the new itanium server (bundled with 64 bit informix server). Thank you very much for your help.

Arunvijai_4
Honored Contributor

Re: PHP installation problem

Hi,

Please post your question to PHP forum since this is a build (libtool) issue, they should be able to tell what is required.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"