If you come with cPanel Fantastico and you got the error of “Fantastico is not installed at the default location“, you may easily solve it by running the following command.
/scripts/makecpphp
By running the above command, it is actually rebuilt the PHP for the cPanel and WHM again.