I've a big problem with my development environment.
Context :
My computer : Win 8.1 x64
My WampServer install : x64
My MongoDB install : x64 from http://www.mongodb.org/downloads
I've installed the php extension from http://pecl.php.net/package/mongo.
My problem is that our production server store some 64 bits INT into the database.
When I try, in my development environment, to access to this data, I've got:
MongoCursorException
Cannot natively represent the long 1108547148863410176 on this platform
I found on internet that a parameter of mongoDB called "mongo.native_long = 1" is needed to use 64 bits INT on 64 bits architecture.
But when I try to add this param in my "php.ini" file, the server don't start and give me an error like :
[19-Nov-2014 18:25:52 UTC] PHP Fatal error: PHP Startup: To prevent data corruption, you are not allowed to turn on the mongo.native_long setting on 32-bit platforms in Unknown on line 0
Does my mongoDB extension DLL is build on 32 Bit or I missed something to do ?