evil.cz
Linux do každé rodiny, linux do každé kanceláře!

Reply to comment

PHP + MySQL + PDO (Ubuntu 8.10 Server)

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

No votes yet

Reply

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.