Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Fatal error: Class 'PDO' not found

edited September 2010 in Vanilla 2.0 - 2.8
I've successfully been using Vanilla (here: for some time, until today, when attempting to access the forum I'm greeted by the following:

Fatal error: Class 'PDO' not found in /home/jonhill/public_html/artstudent/forum/conf/config-defaults.php on line 16

I have contacted my host (A Small Orange), who tell me that PDO is enabled, and they are otherwise unaware of why this might have happened.

Heres the phpinfo:
It's running on Linux, php version 5.2.14

I have tried a clean, new install elsewhere on the sever, and experience similar issues. I wonder if anyone has any suggestions as to what may be causing this. Again, the forum had been working wonderfully before this.


  • TimTim Operations Vanilla Staff
    Your hosting company is a liar. My phpinfo() (locally, with a working forum) has the following sections:


    Yours does not.

    Vanilla Forums COO [GitHub, Twitter,]

  • ithcyithcy New
    edited September 2010
    Looks like PDO is compiled into your PHP (you can see it in the Configure Command section of your phpinfo) but it's just not enabled in your php.ini. (/home/jonhill/php.ini) In that file should be some lines like ...
    Chances are they're either not there or they're commented out. They need to be added or uncommented and then your webserver needs to be restarted.

    See for details.
  • Issue sorted. Seems as though it related to the php.ini file, which for some reason apparently did not include:

    Thanks for your help. Really appreciate and value the whole Vanilla package.
  • edited June 2011
    I am now waiting for my ISP to add the pdo_mysql module, but can anyone answer whether or not Vanilla2 can install onto Windows Server as I'm getting the following error: Fatal error: Class 'PDO' not found in \conf\config-defaults.php on line 16
    This after I renamed the htaccess file in root - before the rename I got IISPassword Error
Sign In or Register to comment.