note 103355 added to pdo.installation

From: Date: Fri, 08 Apr 2011 23:16:17 +0000
Subject: note 103355 added to pdo.installation
Groups: php.notes 
Request: Send a blank email to php-notes+get-178650@lists.php.net to get a copy of this message
You may receive this error when testing a PDO-ODBC connection: "The specified DSN contains an architecture mismatch between the Driver and Application" My environment was Windows 7 (64 bit), MySQL ODBC drivers (64 bit), Apache 2.2.17 (32 bit), PHP 5.3.5 (32 bit). If you are like me, you were testing the PDO-ODBC connection because the native database drivers were not visible to PHP. Furthermore, the MySQL 32 bit drivers did not work in my environment. Solution: Your environment has to be 64 bit all the way through. Install 64 bit versions of Apache and PHP. They are not available from official sources. However, kind people have compiled some and made them available for download. As a bonus, the native database drivers suddenly showed up enabled. ---- Server IP: 117.55.229.1 Probable Submitter: 121.45.17.250 ---- Manual Page -- http://www.php.net/manual/en/pdo.installation.php Edit -- https://master.php.net/note/edit/103355 Del: integrated -- https://master.php.net/note/delete/103355/integrated Del: useless -- https://master.php.net/note/delete/103355/useless Del: bad code -- https://master.php.net/note/delete/103355/bad+code Del: spam -- https://master.php.net/note/delete/103355/spam Del: non-english -- https://master.php.net/note/delete/103355/non-english Del: in docs -- https://master.php.net/note/delete/103355/in+docs Del: other reasons-- https://master.php.net/note/delete/103355 Reject -- https://master.php.net/note/reject/103355 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#178650) next »