0

relatively new to servers, have just installed apache and mysql-server and php on centos 6. I keep getting this error when trying to install a software called Magento however:

PHP Extensions "pdo_mysql" must be loaded.

Anyone have any clue what I should do to fix this? You can see how the current setup is here:

208.111.35.80/test.php

Thanks for any help.

2 Answers2

2

You need the PHP MySQL connector extension.

If using RHEL/CentOS or derivative the fix would be yum install php-mysql.

Dave Forgac
  • 3,546
  • 7
  • 37
  • 48
2

Just install php-mysql

yum install php-mysql

Then restart apache

service httpd restart
Mike
  • 22,310
  • 7
  • 56
  • 79