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
Poslední komentáře
5 dnů 11 hod zpět
6 dnů 22 hod zpět
2 týdny 3 dny zpět
2 týdny 3 dny zpět
2 týdny 6 dnů zpět
2 týdny 6 dnů zpět
3 týdny 4 dny zpět
3 týdny 4 dny zpět
4 týdny 3 dny zpět
9 týdnů 3 dny zpět