Question

64 bit PHP

  • Posted November 30, 2013

Hi, I am using Dropbox SDK, and it requires 64 bit. Below is the error:

Fatal error: Uncaught exception ‘Exception’ with message 'The Dropbox SDK uses 64-bit integers, but it looks like we’re running on a version of PHP that doesn’t support 64-bit integers (PHP_INT_MAX=2147483647).

However, I believe I am already on 64 bit: 3.2.0-23-virtual #36-Ubuntu SMP Tue Apr 10 22:29:03 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Can someone please help me out? Thanks.

Subscribe
Share

This comment has been deleted


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I suppose that you already found the solution for this? Mind to share? Thanks

Hmm. Did you install php using apt-get?

Sorry, I meant <code>php -i</code>, not <code>php -v</code>. Please <strong>pastebin</strong> the output of <code>php -i</code>.

Hi, thanks for the reply. The output is: <br>PHP 5.3.10-1ubuntu3.8 with Suhosin-Patch (cli) (built: Sep 4 2013 20:05:42) <br>Copyright © 1997-2012 The PHP Group <br>Zend Engine v2.3.0, Copyright © 1998-2012 Zend Technologies

What’s the output of <pre>php -v</pre>?