Frequently Asked Question

I get this error: PHP Fatal error: Undefined class constant ‘MYSQL_ATTR_INIT_COMMAND’
Τελευταία Ενημέρωση πριν 4 χρόνια

PDO and PDO_MySQL libraries are required. You must enable them on the WordPress host.

If you use CPanel:

Enable the PHP extensions:

  • pdo
  • pdo_mysql

Or if your Web server is on Windows:

Edit php.ini and uncomment the line:

 extension=pdo_mysql.so

Or if your Web server is on Ubuntu:

sudo php5enmod pdo
sudo service apache2 reload

If you don’t have access to these commands, please contact the system administrator of your WordPress server.

Παρακαλούμε περιμένετε!

Παρακαλούμε περιμένετε... θα πάρει ένα δευτερόλεπτο!