Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Member
    Join Date
    Nov 2007
    Posts
    865

    Arrow Fatal error: Class 'PDO' not found in

    Hi,

    When i open this website www.nilesh.com (website changed for security) it gives following error message

    please tell me how to fix this error


    Fatal error: Class 'PDO' not found in /home/nilesh/public_html/library/Doctrine/Connection/Mysql.php on line 49

  2. #2
    Member nilesh_kolte's Avatar
    Join Date
    Apr 2006
    Posts
    66

    Default Fix

    Is php_pdo,php_pdo_sqlite,php_sqlite is enabled on server? Also try to recompile php with same modules.

    You can compile apache from easyapache script.
    ~~~ Cool Buddy ~~~

  3. #3
    Member
    Join Date
    Nov 2007
    Posts
    865

    Arrow

    Quote Originally Posted by nilesh_kolte View Post
    Is php_pdo,php_pdo_sqlite,php_sqlite is enabled on server? Also try to recompile php with same modules.

    You can compile apache from easyapache script.
    how to enable PDO ?

  4. #4
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2008
    Location
    PK
    Posts
    443

    Default

    Quote Originally Posted by nileshparmar View Post
    how to enable PDO ?
    Log in to WHM, go to "Software >> EasyApache". Select PHP 5 and go to exhaustive options list and there you will find PDO. Select and follow the options. This will recompile php/apache with PDO.
    1 solution works for all problems. Trying harder!
    HostMasterTips - Understanding Tech Support

  5. #5
    Registered User
    Join Date
    Jul 2007
    Posts
    3

    Default

    Quote Originally Posted by JPC-Howard View Post
    Log in to WHM, go to "Software >> EasyApache". Select PHP 5 and go to exhaustive options list and there you will find PDO. Select and follow the options. This will recompile php/apache with PDO.
    I had the same problem and solved before with above way.

  6. #6
    Member
    Join Date
    Nov 2007
    Posts
    865

    Arrow

    Quote Originally Posted by JPC-Howard View Post
    Log in to WHM, go to "Software >> EasyApache". Select PHP 5 and go to exhaustive options list and there you will find PDO. Select and follow the options. This will recompile php/apache with PDO.
    Thanks howard,

    this is very easy way to enable PDO

  7. #7
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2008
    Location
    PK
    Posts
    443

    Default

    Quote Originally Posted by nileshparmar View Post
    Thanks howard,

    this is very easy way to enable PDO
    You are always welcome.
    1 solution works for all problems. Trying harder!
    HostMasterTips - Understanding Tech Support

  8. #8
    Member
    Join Date
    Nov 2007
    Posts
    865

    Arrow

    Thank you so much

    i sent you friend request to be my friend

Similar Threads & Tags
Similar threads

  1. Fatal error: Class 'Zend_Loader' not found
    By d0840001 in forum Discusión en Español
    Replies: 1
    Last Post: 06-05-2008, 03:07 AM
  2. Fatal error: Class 'Zend_Loader' not found
    By d0840001 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-01-2008, 11:22 AM
  3. Class zipArchive not found
    By onaweb in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 11-24-2006, 02:21 PM
  4. Fatal error: Cannot instantiate non-existent class: sql_db
    By dom182 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-05-2004, 04:13 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube