The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PHP Startup: Unable to load dynamic library

Discussion in 'General Discussion' started by DBM, Jan 18, 2013.

  1. DBM

    DBM Member

    Joined:
    Jan 18, 2013
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello :)

    WHM/cPanel - Centos 6.3 with PHP Version 5.3.13

    I ran EasyApache Update via SSH and everything is updated.

    I see that PDO is checked in the profile and should be installed.

    I am getting the following error when testing for PDO MySQL extension


    [18-Jan-2013 13:56:13 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo_mysql.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0

    Any ideas on what is causing this error?

    Thank you. :confused:
     
  2. quietFinn

    quietFinn Well-Known Member

    Joined:
    Feb 4, 2006
    Messages:
    998
    Likes Received:
    10
    Trophy Points:
    18
    Location:
    Finland
    cPanel Access Level:
    Root Administrator
    Is "PDO MySQL" also checked?
     
  3. Rajbir Singh

    Rajbir Singh Registered

    Joined:
    Jun 13, 2010
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Nasik


    Make sure that you do not have a php.ini file already under the document root for the domain name in question and if it does then update the new extension_dir path in the local php.ini file.

    Regards,

    Rajbir.
    Linux CPanel/WHM Web-hosting Blog
     
Loading...

Share This Page