go to bug id or search bugs for
The ext/odbc code does not use ODBC 3.52 API datatypes which makes it impossible to use with WIN64 and Unix 64bit systems.
I have created a patch to add this functionality which has also been posted to the php-dev mailing list.
Add a Patch
Add a Pull Request
Here is the URL to the diff:
Looking through the patch this looks like a clean update for 64bit compatibility. Applying this to HEAD would be wise.
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.
Fixed in HEAD and 5.3 branch