Archive / Linux

RSS feed for this section

error removing addon domain from cpanel

Recently I was unable to remove a domain from cpanel after firstly I deleted the dns zone for that domain (using whm) The error was: “There was a problem removing the Addon Domain” and details of the error explained: “Error … Continue reading

Centos add additional repositories

yum install yum-priorities edit all .repo files from /etc/yum.repos.d/ and add bellow: [base], [addons], [updates], [extras], [centosplus] priority=1 bellow [contrib] priority=2 download RPMforge and check the file rpm –import http://apt.sw.be/RPM-GPG-KEY.dag.txt rpm -K rpmforge-release-0.5.1-1.el5.rf.*.rpm install and check the installation rpm -i … Continue reading

Cpanel: change ssl port for apache

The title it’s choosen to have cpanel word in it because changing ssl port from 443 to something else directly in http.conf will bring trouble when you create a new account for instance (cpanel rebuilds http.conf automatically) so keeping things … Continue reading

protect server from high load

Bellow is a bash script that will save you a lot of energy and headaches when your server gets a high load. For instance if some of your clients / websites is going in an infinite loop because of a … Continue reading

Error while loading shared libraries: libmm.so.14

As the title say, that’s an error message which I received when trying to compile a php version with mm as a ./configure option. fixing it is as easy as checking debug.log in your php source directory, searching where the … Continue reading

An apache php fastcgid suexec cpanel story

I wanted to get fastcgid running on cpanel/whm, so I went to easyApache and selected to compile apche with fastcgid support and php with fastcgi support, but guess what – it wasn’t working! they just ignored the settings and php … Continue reading

Install php from source – custom path

Hey guys, Recently I wanted to give php 5.4 a go but without interferring with my current setup, so I choosed to run it as fcgi. In order to do that I wanted to compile php from source, enabling the … Continue reading

Install eaccelerator from scratch – Centos

1. download the source code and upload it to your server 2. execute export PHP_PREFIX=”/usr/local/php/” where /usr/local/php/ is my path to where php is installed 3. $PHP_PREFIX/bin/phpize 4. ./configure –enable-eaccelerator=shared –with-php-config=$PHP_PREFIX/bin/php-config 5. make 6. make install 7. now go to … Continue reading