You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by David Tiselius <da...@sydsvenskan.se> on 2004/03/25 10:22:30 UTC

[users@httpd] 64-bit Apache

Is it possible (and if so recomended) to build httpd (2.0.49) as a 
64-bit binary? I'm on Solaris 5.9 and using gcc3.3.2. It will serve both 
static content as well as PHP and cgis.
Any thoughts? I've found nothing googleing...

/David


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


[users@httpd] Re: 64-bit Apache

Posted by David Tiselius <da...@sydsvenskan.se>.
OK, thanks for the tips. Do you find that running apache/php in 64-bit 
improves performance? Are there any downsides?

Huseyin OZYURT wrote:
> David Tiselius wrote:
> 
>> Is it possible (and if so recomended) to build httpd (2.0.49) as a 
>> 64-bit binary? I'm on Solaris 5.9 and using gcc3.3.2. It will serve 
>> both static content as well as PHP and cgis.
>> Any thoughts? I've found nothing googleing...
>>
>> /David
>>
>>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server 
>> Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> " from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
> hi david;
> i installed apache and php as 64 bits on web server but i used sun forte 
> compiler.but i installed 64 bits gcc on server.
> 
> gcc 64 bits:
> 
> mkdir gcc-3.2.3-sparc-64-bits-obj
> 
> cd gcc-3.2.3-sparc-64-bits-obj
> 
> ../gcc-3.2.3/configure –prefix=/usr/local/gcc64 –enable-languages=c 
> sparcv9-sun-solaris2
> 
> make
> 
> make install
> 
> apache and php 64 bits.
> apache:
> CFLAGS=' -xparallel -fast -xtarget=ultra -xarch=v9' LDFLAGS='-xparallel 
> -fast -xarch=v9 -L/usr/local/lib -L/usr/lib/sparcv9 
> -L/opt/SUNWspro/lib/v9 -L/usr/ucblib/sparcv9 -I/usr/include 
> -I/usr/local/include -I/usr/include/v9/sys -R/usr/local/lib' 
> CC=/opt/SUNWspro/bin/cc ./configure
> 
> php:
> CFLAGS="-xparallel -fast -xtarget=ultra -xarch=v9" LDFLAGS="-xparallel 
> -fast -xarch=v9 -L/export/home/oracle/805/lib64 
> -L/export/home/oracle/805/rdbms/lib64 -L/usr/local/lib/pgsql/lib 
> -L/usr/local/gcc64v/lib/sparcv9 -L/usr/local/lib/sparcv9 
> -L/usr/lib/sparcv9 -L/opt/SUNWspro/lib/v9 -L/usr/ucblib/sparcv9 
> -I/export/home/oracle/805/rdbms/demo -I/usr/include -I/usr/local/include 
> -I/usr/include/v9/sys -R/usr/local/lib" CC=/opt/SUNWspro/bin/cc ./configure
> 
> 
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] 64-bit Apache

Posted by Huseyin OZYURT <ho...@hacettepe.edu.tr>.
David Tiselius wrote:

> Is it possible (and if so recomended) to build httpd (2.0.49) as a 
> 64-bit binary? I'm on Solaris 5.9 and using gcc3.3.2. It will serve 
> both static content as well as PHP and cgis.
> Any thoughts? I've found nothing googleing...
>
> /David
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server 
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
hi david;
i installed apache and php as 64 bits on web server but i used sun forte 
compiler.but i installed 64 bits gcc on server.

gcc 64 bits:

mkdir gcc-3.2.3-sparc-64-bits-obj

cd gcc-3.2.3-sparc-64-bits-obj

../gcc-3.2.3/configure –prefix=/usr/local/gcc64 –enable-languages=c 
sparcv9-sun-solaris2

make

make install

apache and php 64 bits.
apache:
CFLAGS=' -xparallel -fast -xtarget=ultra -xarch=v9' LDFLAGS='-xparallel 
-fast -xarch=v9 -L/usr/local/lib -L/usr/lib/sparcv9 
-L/opt/SUNWspro/lib/v9 -L/usr/ucblib/sparcv9 -I/usr/include 
-I/usr/local/include -I/usr/include/v9/sys -R/usr/local/lib' 
CC=/opt/SUNWspro/bin/cc ./configure

php:
CFLAGS="-xparallel -fast -xtarget=ultra -xarch=v9" LDFLAGS="-xparallel 
-fast -xarch=v9 -L/export/home/oracle/805/lib64 
-L/export/home/oracle/805/rdbms/lib64 -L/usr/local/lib/pgsql/lib 
-L/usr/local/gcc64v/lib/sparcv9 -L/usr/local/lib/sparcv9 
-L/usr/lib/sparcv9 -L/opt/SUNWspro/lib/v9 -L/usr/ucblib/sparcv9 
-I/export/home/oracle/805/rdbms/demo -I/usr/include -I/usr/local/include 
-I/usr/include/v9/sys -R/usr/local/lib" CC=/opt/SUNWspro/bin/cc ./configure




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org