Ever seen the below error in cPanel servers while running a script?

The solution is simple! Login via SSH as root and type the below commands:

This should fix it!