sudo apt-get install php5-mysql
sudo apt-get install php5-dev
sudo apt-get install libmysqlclient-dev
sudo apt-get install php-pear
sudo apt-get install make
sudo pecl install pdo
sudo pecl install pdo_mysql
edit /etc/php5/apache2/php.ini, add the line for the pdo extension and the specific drivers to the php.ini file, and save the file:
extension=pdo.so
extension=pdo_mysql.so
(edit also /etc/php5/cli/php.ini the same way!!!)
sudo /etc/init.d/apache2 restart
see: http://ubuntuforums.org/archive/index.php/t-364883.html for details
Recent comments
15 weeks 1 day ago
17 weeks 4 days ago
18 weeks 2 days ago
18 weeks 2 days ago
18 weeks 2 days ago
19 weeks 2 days ago
20 weeks 5 days ago
31 weeks 1 day ago
32 weeks 8 hours ago
32 weeks 9 hours ago