openg Posted April 4, 2009 Report Share Posted April 4, 2009 I am trying to figure out how to install pdo_mysql on to my 4.1 copy of (the excellent) uniform server and am completely stuck - I guess at first base (I'm pretty new to this). I downloaded a copy that I assume needs to be compiled on a server - but cannot find out how to compile or install it on my local machine. I tried copying the files to the extensions folder and adding the lines: extension=pdo.soextension=pdo_mysql.so To my php.ini file but I think that was a bit too simplistic as pdo.so and pdo_mysql.so don't exist until I assume it has been compiled. Can anyone point me in the right direction please? Cheers all, Dom Quote Link to comment Share on other sites More sharing options...
Ric Posted April 4, 2009 Report Share Posted April 4, 2009 On a Windows machine you do not need to compile anything that’s a Unix thing. 1] However you do need to obtain a full set of binaries goto http://uk.php.net/ and download php-5.2.9-1-Win32.zip extract to any folder 2] Copy file: php-5.2.9-1-Win32\ext\php_pdo_mysql.dllTo folder: UniServer\udrive\usr\local\php\extensions 3] Edit php.iniAdd this line : extension=php_pdo_mysql.dll(just below line: extension=php_pdo.dll) Restart the servers. To check module installed, from Apanel select phpinfo()About halfway down the page you will see the following entry: pdo_mysql (PDO Driver for MySQL, client library version). All the bestRic Quote Link to comment Share on other sites More sharing options...
openg Posted April 4, 2009 Author Report Share Posted April 4, 2009 Thanks Ric, within 10 minutes of reading your post I had it working and now have a local platform to develop magento on - so cheers mate. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.