Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I plan to install PHP on a system running on AMD Opteron/Windows Server 2008/IIS7. According to the device manager the OS is a 64-bit Operating System. So which flavor of PHP should I install on it. If 64-bit PHP 5.3.x then will there be any gotchas? Or should I expect 32-bit PHP to run smoothly without any (performance) problems?

PS: in case you're wondering -- WPI sucked and did not work at all. It tried to download 32-bit/NTS version of PHP for Windows and failed repeatedly.

share|improve this question

migrated from stackoverflow.com Jun 13 '11 at 14:19

This question came from our site for professional and enthusiast programmers.

    
Odd that WPI failed so hard for you. I've found that the easiest method to install PHP on Server 2008, but my three have been R2. If I were in your position, I might try to figure out why WPI is bombing out. –  James Skemp Jun 13 '11 at 14:29
    
@James: it is Windows Server 2008 R2. I am going for manual install as suggested on forums.iis.net; only question remains is whether to go for the x86 or x64 version of PHP. –  Salman A Jun 14 '11 at 5:15
2  
To go x64 you need to make sure that all extensions you are going to use are also available for you (unless you can compile them yourself). The already compiled builds from windows.php.net as well as one offered by WPI are x32 only. –  LazyOne Jun 14 '11 at 8:53
    
@Lazy: that's a good point. –  Salman A Jun 14 '11 at 11:40

1 Answer 1

You should use 64bit PHP for significant performance improvement, though you can try the 32bit too !

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.