CPanel¬† issue with List::Util object version 1.21 does not match bootstrap parameter 1.27 at :: executing a Perl script

Error running a Perl scripts on CPanel servers :

List::Util object version 1.21 does not match bootstrap parameter 1.27 at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/XSLoader.pm line 94

Below cPanel script will resolve this issue :

This script is an autofixer to resolve an issue with List::Util when a mismatch occurs between the .pm file and the .so file. This removes the mismatched file and reinstalls List::Util.

#/scripts/autorepair scalarutil
Requesting script ... Done
Auto Repair is running...Found unexpected List::Util at /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/List/Util.pm....Auto Repair is done.

CPanel server : Call to undefined method mysqli_stmt::get_result

You will get this error due to missing mysqlnd driver on server : Call to undefined method mysqli_stmt::get_result() , However there isn’t an option to enable mysqlnd with the PHP build via Easy Apache . This can be resolved following below steps .

edit the following file:

/var/cpanel/easy/apache/rawopts/all_php5

Add the following line to that file:

–with-mysqli=mysqlnd

Save the file, launch EasyApache and recompile as normal. I’m assuming you’re using mysqli, else I think you’ll need to use “–with-mysql=mysqlnd” instead.