Connecting Tech Pros Worldwide Help | Site Map

Compiling for 64 bit?

 
LinkBack Thread Tools Search this Thread
  #1  
Old March 26th, 2008, 05:45 AM
Darren
Guest
 
Posts: n/a
Default Compiling for 64 bit?

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

  #2  
Old March 26th, 2008, 06:55 AM
The Natural Philosopher
Guest
 
Posts: n/a
Default Re: Compiling for 64 bit?

Darren wrote:
Quote:
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.
Quote:
(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?
Quote:
Thanks,
Darren
  #3  
Old March 26th, 2008, 12:25 PM
The Natural Philosopher
Guest
 
Posts: n/a
Default Re: Compiling for 64 bit?

Michael Vilain wrote:
Quote:
In article
<fdc9ae81-d494-48d4-ad4c-3b7d5d261bc2@i12g2000prf.googlegroups.com>,
Darren <djcdude@gmail.comwrote:
>
Quote:
>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.
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.