Missing: PDO (PHP Data Objects) for Drupal

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • schittli
    Junior Member
    • Apr 2004
    • 19

    Missing: PDO (PHP Data Objects) for Drupal

    Hello

    I installed Drupal 7.1 using softaculous and get the error, that the PHP Data Objects (PDO) are missing.

    How do I get them on dathorn?

    Thanks a lot in advance,
    kind regards, Thomas
  • schittli
    Junior Member
    • Apr 2004
    • 19

    #2
    Got it:

    I just added a file php.ini in my www directory with this content:

    extension=mcrypt.so
    short_open_tag = on
    extension=pdo.so
    extension=pdo_mysql.so
    extension=pdo_sqlite.so

    Comment

    • AndrewT
      Administrator
      • Mar 2004
      • 3653

      #3
      PDO should work just fine without a custom php.ini. However, if you use a custom php.ini at all it overwrites the server's so you do have to specify the loading of the extensions. If you set PHP settings via php_value entries in a .htaccess file this just overwrites those individual settings instead.

      Comment

      Working...