Operating System - HP-UX
1833053 Members
2734 Online
110049 Solutions
New Discussion

Apache version shows, the architecture as 32-bit on HP PA-RISC why?

 
GnanaShekar
Regular Advisor

Apache version shows, the architecture as 32-bit on HP PA-RISC why?

Hi,

I have downloaded the HP-UX web server suite V2.16 (for HP-UX 11i version 2 PA-RISC/IPF 64-bit) and insalled HP-UX apache-based webserver 2.0.58 in it on a HP PA-RISC server.

However, when I list the apache version, it shows the architecture to be 32-bit why?

-bash-3.00# uname -a
HP-UX banpchp6 B.11.23 U 9000/800 1335080362 unlimited-user license

-bash-3.00# ./apachectl -version
Server version: Apache/2.0.58 HP-UX_Apache-based_Web_Server
Server built: Aug 2 2006 17:27:18

-bash-3.00# ./apachectl -V
Server version: Apache/2.0.58 HP-UX_Apache-based_Web_Server
Server built: Aug 2 2006 17:27:18
Server's Module Magic Number: 20020903:12
Server loaded: APR 0.9.12, APR-UTIL 0.9.12
Compiled using: APR 0.9.12, APR-UTIL 0.9.12
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/worker"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PROC_PTHREAD_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D APR_PROCESS_LOCK_IS_GLOBAL
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/opt/hpws/apache"
-D DEFAULT_CHROOT_DIR=""
-D SUEXEC_BIN="/opt/hpws/apache/bin/suexec"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"

Please suggest,
Thanks & Regards
6 REPLIES 6
Steven E. Protter
Exalted Contributor

Re: Apache version shows, the architecture as 32-bit on HP PA-RISC why?

Shalom,

Because HP compiled apache 32 bit.

There may be 64 bit versions available as well, but its not going to make a difference. Apache doesn't need enormous chunks of memory where limiting it to a 32 bit address space is going to slow it down.

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
GnanaShekar
Regular Advisor

Re: Apache version shows, the architecture as 32-bit on HP PA-RISC why?

Hi,

If HP compiled apache only as 32-bit, then Why did they provide 2 separate installable (as listed below), one for 32-bit and one for 64-bit?

HP-UX 11i version 2 PA-RISC/IPF 64-bit
HP-UX 11i version 2 PA-RISC/IPF 32-bit

Please find attachment for more details.
Please suggest,
Thanks & Regards.
Zeev Schultz
Honored Contributor

Re: Apache version shows, the architecture as 32-bit on HP PA-RISC why?

And the depot name you've downloaded is

HPUXWSATW-B216-1123-64.depot ?

So computers don't think yet. At least not chess computers. - Seymour Cray
GnanaShekar
Regular Advisor

Re: Apache version shows, the architecture as 32-bit on HP PA-RISC why?

Yes.

The depot name is:
HPUXWSATW-B216-1123-64.depot

Please suggest,
Thanks & Regards.
Zeev Schultz
Honored Contributor

Re: Apache version shows, the architecture as 32-bit on HP PA-RISC why?

AFAIK, apache v2.x 32 bit should be installed under /opt/hpws/apache32 ... so its documented at least. In your case I see that HTTPD_ROOT is
/opt/hpws/apache.

I don't have currently Apache around on 11i v2 to check. Anyway, in the release notes file /opt/hpws/hp_docs/apache/apache.release.notes you see if one installed is 32 bit or not.

So computers don't think yet. At least not chess computers. - Seymour Cray
Dennis Handly
Acclaimed Contributor

Re: Apache version shows, the architecture as 32-bit on HP PA-RISC why?

>SEP: There may be 64 bit versions available as well, but its not going to make a difference.

It makes a difference if your plugins are only 64 bit. And the other way around.