64 bit PHP

Posted November 30, 2013 6.1k views
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.

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.

Submit an Answer
6 answers
What's the output of
php -v
Hi, thanks for the reply. The output is:
PHP 5.3.10-1ubuntu3.8 with Suhosin-Patch (cli) (built: Sep 4 2013 20:05:42)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
Sorry, I meant php -i, not php -v. Please pastebin the output of php -i.
Thanks alot.
Hmm. Did you install php using apt-get?

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