Monthly Archives: February 2009

PHP 5 Local

As php5 compiled in the cgi mode customers cannot to use .htaccess directives like php_admin, php_value, php_flag. In phpsuexec setup (for main php) it is overridden by allowing customers place custom php.ini with the variables. However if you build the

Posted in Php

Open SSL

wget http://www.openssl.org/source/openssl-0.9.7d.tar.gz tar zxf openssl-0.9.7d.tar.gz cd openssl-0.9.7d ./configure –prefix=/usr make make test make install ./configure make make test make install

Posted in General discussions, Issues

Cron to mail backup notification

echo “Backup completed” | mail -s “Backup Notification” testmail.ignore@gmail.com

Posted in Mail, Scripts

Wild Card DNS

For the DNS, edit the DNS zone file and add the following: Code: * IN A x.x.x.x (where x.x.x.x is the IP for the hosting account using the wildcard) Edit your httpd.conf config file for your web server and add

Posted in Dns

OpenDNS error

change etc/named.conf from: options { directory “/var”; auth-nxdomain no; pid-file “/var/run/named/named.pid”; to this: options { directory “/var”; auth-nxdomain no; pid-file “/var/run/named/named.pid”; allow-recursion { 127.0.0.1; };

Posted in Dns, Issues

mysql showing wrong version on cpanel

edit /home/username/.cpanel-datastore/_usr_sbin_mysqld_–version if you have multiple accounts with problem find ./*/.cpanel-datastore/ | grep _usr_sbin_mysqld_–version | awk ‘{system (“rm ” $1)}’

Posted in Issues, Mysql, Scripts

Ssh not restarting in vps

Please do this commands in shell rm -rf /dev/null mknod /dev/null c 1 3 /etc/rc.d/init.d/sshd restart

Posted in Cpanel, Issues, VPS
Blog Stats
  • 119,836 hits
Follow

Get every new post delivered to your Inbox.

Join 209 other followers