Re: PHP 64-bit binaries?
|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
On Sun, Oct 16, 2011 at 10:46 PM, Lester Caine <lester@xxxxxxxxxxx> wrote: > Pierre Joye wrote: > >> hi, >> >> On Sun, Oct 16, 2011 at 12:24 AM, Lester Caine<lester@xxxxxxxxxxx> >> wrote: >> >>> Keith Davis wrote: >>> >>>> >>>>> From everything that I've heard, there is not much benefit to a x64 >>>>> >>>> >>>> binary for PHP. >>>> >>> >>> Running all 64bit including the database, I'm seeing a reasonable >>> performance improvement over a pure 32 bit set-up on the same AMD 64bit >>> hardware using 64bit vista order of 10 to 15% faster. It was also worth >>> pointing out that the same hardware runs a good 50% faster again on a >>> 64bit >>> Linux OS. I think this shows that the OS is the problem rather than the >>> 64bit software, but the Linux OS does seem to use the multiple cores more >>> efficiently. I've not tested both with a 64 bit version of Windows7, the >>> full 64bit setup installed and ran, so I've not bothered swapping to all >>> 32bit. >>> >> >> PHP is slower in 64bit than in 32bit modes. Databases (be oracle, >> mysql or other) are another stories and many of them are faster. >> However one does not have to run php in 64bit mode to talk to database >> servers running in 64bit mode. >> >> That being said, the main issues are not only for php but many >> libraries used by php. They did not support windows 64bit very well >> and they have not been tested enough to be ran on production servers >> safely (by all means). >> > > I think that perhaps the thing that is different in all my testing is that > eaccelerator is enabled. That is compiled 64bit as are all the other > additional libraries I use, such as imagemagick and the firebird client. I > need to produce a set of publishable performance figures on the machine that > I've been testing on, but that would take some time as I am more than happy > with the current all 64bit setup. Testing each bit as 32bit or 64bit would > take some work, but I will endeavour just to switch the php section ... if I > can get 32bit versions of all the libraries currently being used with it. > > Mixing 32bit and 64bit just seems totally wrong to me ... and I am not > seeing any unexplainable problems with my current setup, which has been > running since I first posted the 64bit links without even having to reboot > windows. Something I still have to do on customer sites with the 32bit > setups :( did you checked your "Program Files (x86)" directory lately? for windows it is common that there are apps without 64bit versions. :( -- Ferenc Kovács @Tyr43l - http://tyrael.hu