PHP Error Being Emailed on Regular Basis

  • I am getting the below error every half an hour or so. I tried searching the forums but could not find a definitive fix for this.


    Thanks!


    Code
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20131226/pam.so' - /usr/lib/php5/20131226/pam.so: cannot open shared object file: No such file or directory in Unknown on line 0
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20131226/pam.so' - /usr/lib/php5/20131226/pam.so: cannot open shared object file: No such file or directory in Unknown on line 0
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20131226/pam.so' - /usr/lib/php5/20131226/pam.so: cannot open shared object file: No such file or directory in Unknown on line 0
  • I see the following cronjobs setup on the server:



    Should I remove the one for PHP5?

    • Official Post

    I see the following cronjobs setup on the server:


    Should I remove the one for PHP5?

    Yes, please.

  • It looks like it is left-over config files from php5-pam (which is no longer available.)


    sudo apt remove php5-pam --purge


    will remove those config files and got rid of the periodic emailed error for me anyway.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!