Skip to main content

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

Comments

6 comments

  • Aaron.Edwards
    [QUOTE]The required extensions are present in my servers php.ini but this site receives the above error.
    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*
    0
  • nwilkins83
    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?
    0
  • nwilkins83
    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
    0
  • cPanelMichael
    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.
    0
  • nwilkins83
    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?
    0
  • cPanelMichael
    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.
    0

Please sign in to leave a comment.