By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,728 Members | 1,182 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,728 IT Pros & Developers. It's quick & easy.

Compiling for 64 bit?

P: n/a
Apache, PHP and MySQL are all running in 32 bit on a Solaris server
that is 64 bit. The main problem I have is I need 64 bit integers so
I have 2 questions:

If I compile PHP for 64 bit, do I need to compile Apache in 64 bit
also? (My VPS came with everything installed as 32 bit except for the
OS, it is 64 bit. So, ideally, I would not like to have to go through
compiling everything.)

Where would be the best place to look for a precompiled PHP5 for
Solaris 64 bit?

Thanks,
Darren
Mar 26 '08 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Darren wrote:
Apache, PHP and MySQL are all running in 32 bit on a Solaris server
that is 64 bit. The main problem I have is I need 64 bit integers so
I have 2 questions:

If I compile PHP for 64 bit, do I need to compile Apache in 64 bit
also?
I wouldn't have thought so..php output is a character stream fed to
apache..via stdout IIRC.
(My VPS came with everything installed as 32 bit except for the
OS, it is 64 bit. So, ideally, I would not like to have to go through
compiling everything.)

Where would be the best place to look for a precompiled PHP5 for
Solaris 64 bit?
I would just compile your own..but will it give you 64 bit ints?
Thanks,
Darren
Mar 26 '08 #2

P: n/a
Michael Vilain wrote:
In article
<fd**********************************@i12g2000prf. googlegroups.com>,
Darren <dj*****@gmail.comwrote:
>Apache, PHP and MySQL are all running in 32 bit on a Solaris server
that is 64 bit. The main problem I have is I need 64 bit integers so
I have 2 questions:

If I compile PHP for 64 bit, do I need to compile Apache in 64 bit
also? (My VPS came with everything installed as 32 bit except for the
OS, it is 64 bit. So, ideally, I would not like to have to go through
compiling everything.)

Where would be the best place to look for a precompiled PHP5 for
Solaris 64 bit?

Thanks,
Darren

You'll need source for everything to compile it into 64-bit. It will
also be slower as memory access for 64-bit applications has a
performance penalty over 32-bit applications.
Surely memory access is FASTER, its disk access that is slower.
Mar 26 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.