Internal server errors while accessing Fantastico and phpmyadmin in cPanel & WHM

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.

Post to Twitter Tweet This Post

Continue Reading

Buggy wget again causing issues with Fantastico – Tells you installed, but fools you

Once upon a time, long back around 24 months back, there was an issue with wget and fantastico. Issue was that fantastico will get installed. Atleast it will tell you that it finished installation. But later on when you try to adjust the feature set, it will fool you saying it is not installed. We thought it got solved in 5.2. but it looks like re-appeared in RHEL/CentOS 5.3.

So the solution is to install it from source. Source is the best. RPMs and Debs took all the fun we had in slackware age of floppy based linux :)

cd
mkdir ssages
wget http://ftp.gnu.org/gnu/wget/wget-latest.tar.gz
yum remove wget
tar xfz wget-latest.tar.gz
cd wget-*
./configure –prefix=/usr
make
make test
make install
cd ../
rm -Rf wget-*

You will also want to put wget* on /etc/yum.conf exclude= line so the OS doesn’t automatically reinstall the buggy version.

Ref: http://www.netenberg.com/forum/index.php?topic=5430.0

Post to Twitter Tweet This Post

Continue Reading

Your email:

 

Post to Twitter Tweet This Post

About this blog

This blog, acts as a knowledge repository for the world and is unofficial! Anything we find interesting in the cyber world will go here. Most cases, this blog will reflect the happiness of our staff in reaching successful solution to an issue (s)he worked on. A reference for other fellow SAGEs who come across similar issues later