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.

suhosin.so/pdo.so/pdo_sqlite.so/sqlite.so/pdo_mysql.so errors

Discussion in 'General Discussion' started by nwilkins83, Sep 20, 2013.

  1. nwilkins83

    nwilkins83 Member

    Joined:
    Sep 20, 2013
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    Apologies if this is not the correct location to post this (first time Linux user & poster)

    I have fired up a CentOS virtual machine and installed cPanel onto it. I am trying to run a couple of sites and noticed one of my Joomla sites is not working and is displaying the following in its error log:

    Code:
    [20-Sep-2013 13:22:06 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/suhosin.so' -
    /usr/local/lib/php/extensions/no-debug-non-zts-20090626/suhosin.so: cannot open shared object file: No such file or directory in Unknown on line 0
    
    [20-Sep-2013 13:22:06 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo.so' -
    /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
    
    [20-Sep-2013 13:22:06 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo_sqlite.so' -
    /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo_sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
    
    [20-Sep-2013 13:22:06 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/sqlite.so' -
    /usr/local/lib/php/extensions/no-debug-non-zts-20090626/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0
    
    [20-Sep-2013 13:22:06 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
    
    [20-Sep-2013 13:22:06 UTC] PHP Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0

    I have already had a go at fixing this but to no avail. The required extensions are present in my servers php.ini but this site receives the above error. Please advise on what my best course of action is.

    Many Thanks
     
  2. Aaron.Edwards

    Aaron.Edwards Active Member

    Joined:
    Sep 21, 2013
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    There shouldn't be the file at : /usr/local/lib/php/extensions/no-debug-non-zts-20090626/suhosin.so

    /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo.so
    /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo_sqlite.so
    /usr/local/lib/php/extensions/no-debug-non-zts-20090626/sqlite.so
    /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pdo_mysql.so

    Though you have mentioned the extenstion_dir = "/usr/local/lib/php/extensions/no-debug-non-zts-20090626" in your php.ini, php is searching for the .so files under this location mentioned at extension_dir. As the actual file isn't there, there were an error produced.

    Check with whether there were any other directories under : /usr/local/lib/php/extensions/no-debug-non-zts* ?

    Can you post the output of the below here ?

    # ls -la /usr/local/lib/php/extensions/no-debug-non-zts*
     
  3. nwilkins83

    nwilkins83 Member

    Joined:
    Sep 20, 2013
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello,

    Please find the output attached. I must add that this website I am trying to get to work has been copied over from another server with an earlier version of PHP and I guess the *.so references were installed in a different location on that server?

    How do I determine if the new server has all of the correct files in the correct location?
     

    Attached Files:

    • so.jpg
      so.jpg
      File size:
      40 KB
      Views:
      9
  4. nwilkins83

    nwilkins83 Member

    Joined:
    Sep 20, 2013
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Just to add to this my phpinfo file on the new server does not show suhosin.so/pdo.so/pdo_sqlite.so/sqlite.so or pdo_mysql.so
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Check to ensure there are no php.ini files within the account's home directory or directories beneath it. The existence of these files can prevent the website from utilizing the system php.ini file.

    Thank you.
     
  6. nwilkins83

    nwilkins83 Member

    Joined:
    Sep 20, 2013
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Okay, I have done that.

    How do I go about installing suhosin.so/pdo.so/pdo_sqlite.so/sqlite.so/pdo_mysql.so correctly on my new server?
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Those modules are installable via EasyApache:

    /scripts/easyapache

    Or;

    "WHM Home » Software » EasyApache (Apache Update)"

    You can find them under the "Exhaustive Options List" for PHP. Note that Suhosin is not supported in PHP version 5.4.

    Thank you.
     
Loading...

Share This Page