Error after switching to PHP 8.0

Avatar
  • updated
  • Answered
I was on an old version of PHP which was becoming outdated, so I just switched to PHP 8.0. Now I am getting the following error at the bottom of every page:
Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/monarx-protect/monarxprotect-php80.so' (tried: /usr/lib64/monarx-protect/monarxprotect-php80.so (/usr/lib64/monarx-protect/monarxprotect-php80.so: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php80/root/usr/lib64/php/modules//usr/lib64/monarx-protect/monarxprotect-php80.so.so (/opt/cpanel/ea-php80/root/usr/lib64/php/modules//usr/lib64/monarx-protect/monarxprotect-php80.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0


This "monarx" is not something I've listed in my php.ini file. Not sure what needs done here.

Avatar
JT S.
  • Answered

Hi. It looks like something is requesting the Monarx application. I recommend checking your code to see if there's a legitimate request for it. Then, run a server scan with ClamAV or ImunifyAV.