| First see whether pdo_mysql.so is already installed on your server...
$ ls /usr/lib/php/extensions/no-debug-non-zts-* pdo.so pdo_mysql.so
If you don't see the above, submit a ticket and we'll install it on your server. If you do see the above, continue below.
In your php.ini file, add the following two lines...
extension = pdo.so extension = pdo_mysql.so
...and you need to edit the extension_dir to include its location...
extension_dir = "/usr/lib/php/extensions/no-debug-non-zts-20060613/"
You can confirm successful installation via a phpinfo page. If you don't have one, create a file called phpinfo.php and put the following in it...
<? phpinfo(); ?>
Browse to the file online and check for pdo_mysql.
|
Add to Favourites
Print this Article
|