Skip to main content

PHP modules already loaded

Comments

6 comments

  • cPanelLauren
    Can you clarify, are you looking to remove the error log or resolve the errors within?
    0
  • Alanca
    I would like to resolve the errors within.
    0
  • quietFinn
    Technically they are not errors, they are warnings, so AFAIK the only trouble they are causing is those lines in the error log.
    0
  • Alanca
    I would still prefer to resolve the fact that modules are loaded separately while they seem to be included already, without disabling the error log.
    0
  • quietFinn
    I found a website in one of our servers giving pretty much the same warnings. In that website's public_html folder there was a (about 6 years old) php.ini file with these lines: magic_quotes_gpc = Off extension=pdo.so extension=pdo_mysql.so
    I removed that file and now that site still works ok and does not give any warnings any more. Of course I don't mean that you should remove just any or every php.ini you find, but if it had been cPanel generated php.in it would include lines: ; cPanel-generated php ini directives, do not edit ; Manual editing of this file may result in unexpected behavior. ; To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor) ; For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
    0
  • cPanelLauren
    If you're already loading a module in the global PHP.ini for that version of PHP it's unnecessary to load it again in an account-based .ini file - this is what produces that warning. You shoudl be able to just remove the extension= lines
    0

Please sign in to leave a comment.