Welcome to WebmasterWorld Guest from 54.145.144.101

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)

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



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)

5+ Year Member



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)

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



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)

WebmasterWorld Senior Member 5+ Year Member



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

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

Featured Threads

Hot Threads This Week

Hot Threads This Month