mailparse.so warning error

My error log (php) is filling up with:

PHP Warning: PHP Startup: Unable to load dynamic library './mailparse.so' - ./mailparse.so: cannot open shared object file: No such file or directory in Unknown on line 0

I'm not very knowledgeable about php but I think that this is not an element of zenphoto that is missing but rather a component of the php installation on my shared server (HostMonster). A run of phpinfo informs me that a mailparse.ini file is being found but I can't confirm that mailparse.so is available or even where zenphoto is expecting to find it in case that's the problem. The problem seems to originate at about the time I upgraded to 1.30 but I can't be sure.

Since it's only a warning, perhaps I just need to turn off reporting of that error.

Thanks

NK

Any help would be appreciated.

Comments

  • Searching for that file gives the following: http://theserverpages.com/php/manual/en/ref.mailparse.php.

    Searching Zenphoto does not yield any references to any of these functions, so it would not appear to be something Zenphoto uses. Do you have any third-party plugins?

    Anyway, I guess you will need to consult your servce provider about this.
  • Thanks. Strange that the error would then appear in the error_log file inside the zenphoto directory and not the error_log files located elsewhere. Having said that, a Google search turned up a reminder that after a php change by the hosting provider, there are sometimes changes in paths that require installation of a new php.ini file. I installed a new default php.ini, checked it against the one that was formerly in place and realised that this was the source of the errors. mailparse.so is installed but its location had changed.

    A reminder to all that php.ini files may need to be updated after changes to php version etc.

    Off to change a bunch more php.ini files...

    NK
Sign In or Register to comment.