Symptoms
Some user contents may experience an error of the following when visiting their website:
MySQL query error [1835]: Malformed communication packet.
Workaround
CloudLinux does have a set of ND(Native Driver) MySQL modules that should address this error. The following commands would allow you to change the modules for the selected PHP version for all users:
selectorctl --disable-user-extensions=mysqli,mysql,pdo_mysql --version=7.4 --for-all-users
selectorctl --enable-user-extensions=nd_mysqli,mysqlnd,nd_pdo_mysql --version=7.4 --for-all-users