Our cPanel server management service team trying to give the fix the Internal server errors while accessing Fantastico and PHPMyAdmin in cPanel server. This not a common issue. But sometimes this happens. If you have noticed, when you are logged into cPanel or WHM using the root password, you wont be able to install Fantastico applications or access MySQL DBs using phpmyAdmin. Most of the times, the error occurs will be similar to below
Internal Server Error
Premature end of script headers: php: Please check /usr/local/cpanel/logs/error_log for the exact error.
So far, the solution of this issue didn’t get complicated and a simple recompilation of cPanel PHP used to solve the error. To recompile cPanel PHP, issue the command below
/scripts/makecpphp
This would make sure that cPanel PHP, suPHP and other permissions will get set properly. Good luck.