Results 1 to 3 of 3

Thread: Missing: PDO (PHP Data Objects) for Drupal

  1. #1
    Junior Member
    Join Date
    Apr 2004
    Posts
    19

    Default 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

  2. #2
    Junior Member
    Join Date
    Apr 2004
    Posts
    19

    Default

    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

  3. #3
    Administrator AndrewT's Avatar
    Join Date
    Mar 2004
    Location
    Tulsa, OK
    Posts
    3,634

    Default

    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •