Frequently Asked Question

I get this error: PHP Fatal error: Undefined class constant ‘MYSQL_ATTR_INIT_COMMAND’
Last Updated 4 years ago

  • PDO and PDO_MySQL libraries are needed. You must enable them in php.ini on the WordPress host.
    On Windows:
    Edit php.ini and uncomment the line:
    Or 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.

Please Wait!

Please wait... it will take a second!