In countless Drupal installs, I have never seen this error before but only with my D7 test install:
Fatal error: Class 'PDO' not found in /d7/includes/database/database.inc on line 186
I've copied the settings file across, set up the database, etc. All standard stuff. Deleted files and re-installed to no avail.
PHP 5.2.9
Apache 1.3.41 (Unix)
Server on Linux
Comments
Comment #1
eojthebraveDo you have PHP Data Objects installed/enabled on your system? This is a new requirement for Drupal 7. http://drupal.org/requirements#php
Comment #2
Cybergarou commentedThis is a duplicate of #299308: Installing Drupal by visiting index.php (rather than install.php) leads to a fatal error when PDO is not enabled. I'm reopening that issue since it hasn't been resolved yet.
Comment #3
splashworx commentedMy PHO knowledge is close to zero. Where do I find the php.ini file? It doesn't appear to be anywhere within the Drupal installation. I can't find it within C-Panel (PHP settings).
Any heads-up appreciated.
Comment #4
splashworx commentedMy PHP knowledge is not great.
Where do I find the php.ini file? It doesn't appear to be anywhere within the Drupal installation. I can't find it within C-Panel (PHP settings).
Any heads-up appreciated.
Comment #5
Cybergarou commentedThe php.ini file is located within the PHP installation.