Jump to content
The Uniform Server Community

Recommended Posts

Posted

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.so

extension=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

Posted

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.dll

To folder: UniServer\udrive\usr\local\php\extensions

 

3] Edit php.ini

Add 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 best

Ric :unsure:

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...