Welcome to WebmasterWorld Guest from 50.17.16.177

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Questions about 64 Bit PHP on both Windows and Linux

     
7:05 am on Jul 31, 2010 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member jab_creations is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 26, 2004
posts: 3145
votes: 12


First off how can I tell if my local and live servers are running 32 or 64 bit versions of PHP?

Secondly I'm running XP 64 bit so I presume I can run 64 bit versions of PHP, are they available?

By running 64 bit versions of PHP will I be able to resolve the Unix epoch issue with integers or is there a work-around with 32 bit versions of PHP?

- John
10:25 pm on Aug 11, 2010 (gmt 0)

Junior Member

5+ Year Member

joined:Dec 29, 2008
posts:65
votes: 0


Hi,

I have never try this, but for what I have read the main issue might be on the PHP extensions. Also about the integer issue I found this article that one of the best out there:

[lullabot.com...]
11:01 pm on Aug 11, 2010 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member jab_creations is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Aug 26, 2004
posts: 3145
votes: 12


I don't use frameworks and probably never will...as far as PHP extensions I use them very rarely and have yet to implement them in to live production environments with the exception of cURL in an older project. It's pretty clear that one shouldn't use floats in place of integers at least. Thanks for sharing.

- John
10:01 am on Aug 13, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member 5+ Year Member

joined:Apr 30, 2007
posts:1394
votes: 0


For the first one, see the $_ENV super global what it contains.

["PROCESSOR_ARCHITECTURE"]
["PROCESSOR_IDENTIFIER"]
["PROCESSOR_LEVEL"]
["PROCESSOR_REVISION"]