- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: PHP 5 on HPUX 11
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
02-01-2005 03:44 AM
02-01-2005 03:44 AM
PHP 5 on HPUX 11
I've been trying to compile PHP 5.02 on HPUX 11.0 for 2 days now and what with needing to firstly get gcc,libxml2,zlib and all that its been a real hoot. It still won't compile.
I've just read on the PHP site that you cannot compile PHP as a DSO module on HPUX but that it needs to be compiled statically with Apache.
Is this true ? I've been using the enable-dso option and have been pointing to the apxs that comes with the HPWS Webserver.
Does anyone know where I can get a working PHP5-Apache1.x/2.x build for HPUX 11.0 ?
Thanks
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2005 04:10 AM
02-01-2005 04:10 AM
Re: PHP 5 on HPUX 11
HP or someone will eventually port PHP 5.
You may be better off waiting for the port and the depots.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2005 01:06 AM
04-15-2005 01:06 AM
Re: PHP 5 on HPUX 11
I used apache 1.3.33 and PHP version 5.0.4
I couldn't get PHP compiled as DSO module for apache2.
regards,
Bart
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2005 01:30 AM
04-15-2005 01:30 AM
Re: PHP 5 on HPUX 11
Here are some notes on how to do it with HP's ANSI cc.
The key is to modify configure file in PHP source directory as follows.
$ perl -pi.orig -e 's,^SAPI_SHARED=libs/libphp4)..*$,$1.so,g' configure
$ perl -pi -e 's,(libname[^\.]*)\.sl,$1.so,g' configure
$ export CCOPTS="+Z -DIEEE_BIG_ENDIAN"
$ export CC=cc
$ ./configure --prefix=
$ make
# make install
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2005 10:42 PM
04-17-2005 10:42 PM
Re: PHP 5 on HPUX 11
The route I eventually took was to compile on Apache 1.x as a static module.
I could never really work out if it was safe to run PHP 5 on Apache 2 as anything I've read has advised againt it.
I did come across a site www.thewrittenword.com where you can buy precompiled binaries of a lot of open source software for a variety of platforms.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2005 04:34 AM
04-20-2005 04:34 AM
Re: PHP 5 on HPUX 11
I'm trying to compile PHP 5.0.3 as a static module on HP-UX 11.11 with apache 1.3.33.
The SHLIB_PATH is set.
libxml2 is istalled.
This is the compiling error:
...
Configuring extensions
checking whether to enable LIBXML support... yes
checking libxml2 install dir... no
checking whether libxml build works... no
configure: error: build test failed. Please check the config.log for details.
The config.log write:
...
configure:17818: checking libxml2 install dir
configure:17978: checking whether libxml build works
configure:18005: gcc -o conftest -g -O2 -Wl,-rpath,/usr/local/lib -L/usr/local/lib conftest.c
-lm -lnsl -lxml2 -lz -liconv -lm 1>&5
/usr/local/lib/libxml2.sl: file not recognized: File format not recognized
collect2: ld returned 1 exit status
configure: failed program was:
#line 17994 "configure"
#include "confdefs.h"
char xmlInitParser();
int main() {
xmlInitParser();
return 0;
}
what can I have to do?
thanks.
Mauro