I am having trouble installing WordPress on my Raspberry Pi. I have been following this guide but I am getting the “Invalid or missing PDO Driver” error during installation.
I can see from phpinfo that PDO drivers are enabled for sqlite.
This is my wp-config-sample.php:
/** The name of the database for WordPress */
define('DB_NAME', 'wordpress'); // The name of the databasedefine('DB_USER', 'root'); // Your MySQL username define('DB_TYPE', 'sqlite'); //exactly define('DB_NAME', 'sqlite:db.fil'); //!!! put it or another one define('DB_HOST', 'localhost'); // define('DB_CHARSET', 'utf8'); define('DB_COLLATE', ''); define('SECRET_KEY', 'Dear Diary, what a day.'); // Change this to a unique phrase.
Any help on this would be greatly appreciated. Let me know if more information is needed.
- The topic ‘PDO drivers loaded – Raspberry Pi’ is closed to new replies.