Link to home
Start Free TrialLog in
Avatar of rgb192
rgb192Flag for United States of America

asked on

how to install pdo odbc in php windows server 2008

how to install pdo odbc in php windows server 2008
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

"php_pdo_odbc.dll" should already be in your extensions directory.  Enable it by uncommenting it in 'php.ini' and restart the server that PHP is running on.  If it's IIS, you may also have to 'uncache' applications to get it to pick up the modified 'php.ini'.  More info on PDO here: http://www.php.net/manual/en/pdo.installation.php
Avatar of rgb192

ASKER

from
http://www.php.net/manual/en/pdo.installation.php 


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.

if i am using 64bit windows, do i need to find 64bit php

ASKER CERTIFIED SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rgb192

ASKER

thanks