Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

pdo_mysql

Featured Replies

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

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:

  • Author

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

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.