1

I recently upgraded PHP 5.5.9 to PHP 5.6 by doing:

sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install php5.6

But when I run PHP through CLI I get the following warning everytime:

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20131226/php_pdo_mysql.dll' - /usr/lib/php/20131226/php_pdo_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0

How to fix this? I am using Ubuntu 14.04.5 LTS on AWS.

1 Answer 1

2

My bad, apparently I had uncommented extension=php_pdo_mysql.dll in my php.ini. Of course this wouldn't work on Ubuntu.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.