- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- hpux+php+informix=headache
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2005 09:54 AM
04-22-2005 09:54 AM
hpux+php+informix=headache
Our info:
HP-UX 11.11
Informix IDS 7.31.UD7
Apache/2.0.53 HP-UX_Apache-based_Web_Server (Unix) DAV/2 PHP/4.3.11
Informix SDK 2.81.HC2
When we compile php without informix we get a file named libphp4.sl in the libs directory. We change the filename to libphp4.so and copy it over to our apache modules directory and php works fine.
When we compile php with the informix extension and cd over the libs directory it creates the libphp4.a file. The .a file is many times larger than the .sl file was. Changing the .a to .so causes trouble.
Is there anyone out there that has successfully compiled php with informix on a hp-ux box?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2005 10:07 AM
04-22-2005 10:07 AM
Re: hpux+php+informix=headache
The answer is in your makefiles.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2005 10:11 AM
04-22-2005 10:11 AM
Re: hpux+php+informix=headache
SO/SL is not the same as A ...
.a files are static libraries, that are used during the linkage of the executable, and so/sl are shared libraries that can be loaded during the runtime.
That's why you can't rename .a to .so and expect this thing to work.
I don't know the exact process of comipling the informix extension for PHP, but I think, that after you get .a file, you should compile it with something else, because it can't be used like so/sl.
Hope it helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2005 10:15 AM
04-22-2005 10:15 AM
Re: hpux+php+informix=headache
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 02:35 PM
05-12-2005 02:35 PM
Re: hpux+php+informix=headache
I have done several tests and couldn't get the DSO module working with PHP+Informix on HPUX server. However standard PHP (without informix) compiles well with Apache. And the other finding is Apache(2.0.54)+PHP(5.0.x)+Informix(7.3.x) works well on Linux. It compiles and performs excellent on Linux.
But i have other option and suggestion for HPUX, that is configure old Apache without DSO (i.e static) on HPUX box. It works well, i have compiled several times.
Try Apache 1.3.x and PHP 5.0.x along with informix. I am sure it will work for you as it works in my case.
Let me know if you need help in compiling and get it going.
Cheers
Rajeev
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2005 08:22 PM
05-12-2005 08:22 PM
Re: hpux+php+informix=headache
Sorry, no advice from my side but PLEASE do report in this thread if you managed to get it
working.
I've been struggeling with this for myself and did not find a solution besides the one mentioned by Rajeev. (using apache 1.3)
There are some hints on this problem to be found in
http://bugs.php.net/
Regards
Rainer