Operating System - HP-UX
1833701 Members
3496 Online
110062 Solutions
New Discussion

Re: HP-UX 11i Web Server Suite with php & mysql

 

HP-UX 11i Web Server Suite with php & mysql

I downloaded and installed the latest version of the "HP-UX 11i Web Server Suite" for HP-UX 11.23.

According to everything that I can find, the php 5.0.4 version included in this package should have mysql and ldap functions compiled in. Documentation even states that there is nothing to enable.

So far, I have been totally unsuccessful in talking with the mysql database.

I can find no references to others having this issue, so what could I be doing wrong?

Thanks...
12 REPLIES 12
Florian Heigl (new acc)
Honored Contributor

Re: HP-UX 11i Web Server Suite with php & mysql

here is Your reference!

DB:Mysql didn't work for me, too.
I didn't open a call with HP as it was a pure test setup I did, but I couldn't find a mysql.sl anywhere in the /opt/hpws tree, while an oracle.sl (or whatever the exact name was) existed.

Do contact HP about this, if You don't have a support contract, post back here, and I'll try to do it on monday.

Fine with You?
yesterday I stood at the edge. Today I'm one step ahead.

Re: HP-UX 11i Web Server Suite with php & mysql

I hope someone has some idea of what is wrong. I just am not coming up with any hits on searches.

I also having trouble getting a good download of the iexpress depot as well.

:(
Arunvijai_4
Honored Contributor

Re: HP-UX 11i Web Server Suite with php & mysql

What kind of you are getting ? Can you give more information about the problem that you are facing ? You can download Internet Express MySQL for 11.23 from http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPUXIEXP1123

-Arun

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

Re: HP-UX 11i Web Server Suite with php & mysql

Actually the download problem is from the exact website URL you are pointing to.

I have downloaded it from home, work, different PCs and etc. I get the same result when I try to install with swinstall. It complains that their a corruption in the data set.

Oddly, they broke iexpress down to (2) parts. I had an older one of the first package from just about a week ago it was .003 and now it is .007. I can't get the newer one to work.

But not to distract from my current problem as to why I can't seem to get the HPWS 2.12 package to work with the iexpress package to allow php5 to talk with the mySQL database through Apache. Boy, that was a mouth full. :)

Re: HP-UX 11i Web Server Suite with php & mysql

I have never posted to the forum before. But if I don't get the answers here, what would be my next course of action.

I've been out ill and this project is only getting hotter.

I've got to be missing some vital piece of documentation as everything that I do find indicates that the Web Server Suite with its php and the mysql in the iexpress should work.

Thanks
Florian Heigl (new acc)
Honored Contributor

Re: HP-UX 11i Web Server Suite with php & mysql

Dear Michael,

did You actually read my response?
I really have some doubts towards it.

The current iexpress apperently broken about mysql, and I offered You to open a call with HP. But by now I'm on holiday for the next four weeks.
yesterday I stood at the edge. Today I'm one step ahead.

Re: HP-UX 11i Web Server Suite with php & mysql

Yes, I did. It was while I was off being sick. :(

Here is what I have found out since my last post.

There is now a version 2.13 that is available. So I installed it, got the same results. But the documentation has been updated to say that it wasn't compiled in for the HPUX 11i, v2 64-bit version. It is only for the 32-bit version. Nice time to mention it. ;)

Now my problem is the download area again. I can download the HPUX 11i, v2 64-bit all day long, but the other choices say that it is temporarily unavailable. *sigh*

I have now tried the online chat help.
Florian Heigl (new acc)
Honored Contributor

Re: HP-UX 11i Web Server Suite with php & mysql

Oups, I hope You're fine & healthy again now?
For the download area part: It's probably just a broken cookie from the software depot.

Florian
yesterday I stood at the edge. Today I'm one step ahead.

Re: HP-UX 11i Web Server Suite with php & mysql

I'm bumping this topic back again.

I download a version of the web server suite that was based php4. I can get ldap and mysql to work fine with it. I believe that apache is 2.0.55

I just got the HPUX 11i, v2, Dec 05 release of the OS. I took a development system and rebuilt it from scratch.

I have the same problem where I can't get either to work. I must be missing something. I just can't seem to get either LDAP or mysql to work with the supplied copy. Is there some very basic difference between php4 and php5 to enable ldap and mysql. I'm setting it up exactly like I have the version working with php4.

I'm still looking for some documentation that tells me what I am not getting setup correctly.

Anybody with any ideas, I would appreciate it.
Steven E. Protter
Exalted Contributor

Re: HP-UX 11i Web Server Suite with php & mysql

Shalom Michael,

Suggestions:

1) There is another thread where this issue was dealt with. Its a configuration problem with mysql.

http://forums2.itrc.hp.com/service/forums/questionanswer.do?threadId=103347
My link is for php 4.x but I really think it may still apply.

2) If any of the above answers have been useful, assign points please. This motivates some to work harder.

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

Re: HP-UX 11i Web Server Suite with php & mysql

OK... Again I am currently using HPUXWSAX-B214-1123-64.depot which does have php extensions for both mySQL and LDAP.

If I am reading everything correctly, the Web Server Suite with php5 supplied from HP should have this funtionality as well without any kind on compiling.

So I either am reading the information incorrectly on what is built into the HPWS package or it doesn't get configured the same way as I have done for the HPUXWSAX-B214-1123-64 package.

I'm not compiling anything, just downloading what is readily available from the software depot here.

If someone can just tell me that I can't get this done using the HP Web Suite, I'll go a different route.

I do appreciate everyone's responding.
UX-Linux CC
Occasional Contributor

Re: HP-UX 11i Web Server Suite with php & mysql

I had some success (beginners luck) in compiling an ELF 64 bit mysql limited binary by using the following configure values from mysql-4.1.18 src.

CONF_COMMAND = ./configure
'--prefix=/usr/local' \
'CC=/opt/hp-gcc/bin/gcc' \
'CFLAGS=-D_XOPEN_SOURCE_EXTENDED -mlp64' \
'CPPFLAGS=-D_XOPEN_SOURCE_EXTENDED -mlp64' \
'CXXFLAGS=-D_XOPEN_SOURCE_EXTENDED -mlp64' \
'CXX=/opt/hp-gcc/bin/gcc'

And changing the search paths for libtool to use the hpux64 libraries.
-----
libtool lines

# Compile-time system search path for libraries
sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"

# Run-time system search path for libraries
sys_lib_dlsearch_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"

and running chatr lib*.so every so often to make sure the libs are 64-bit ELF Shared library.

$ find . -name 'libmysqlclient*' \
-exec chatr {} \; | grep -e ELF -e client

./libmysql/.libs/libmysqlclient.so.14.0:
64-bit ELF shared library
libmysqlclient.so.14

Here is some gcc info using the HP
/opt/hp-gcc/bin/gcc

$ $(whence gcc) -v
Using built-in specs.
Target: ia64-hp-hpux11.23
Configured with: /tmp/gcc-4.0.2.tar.gz/gcc-4.0.2/configure --host=ia64-hp-hpux11.23 --target=ia64-hp-hpux11.23 --build=ia64-hp-hpux11.23 --prefix=/opt/hp-gcc-4.0.2 --enable-languages=c,c++ --with-gnu-as --without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-threads=posix
Thread model: posix
gcc version 4.0.2

swlist version info: GNU_C_C++ 4.0.2

Regards
John Hoffmaster