Fast CGI Upload Error

[stextbox id=”warning”]mod_fcgid: HTTP request length 16779013 (so far) exceeds MaxRequestLen (16777216), referer[/stextbox] Getting an error on a plesk server witht he site running fastcgi and the upload times out or you get an error: Source: http://kb.parallels.com/en/114842 Cause The FcgidMaxRequestLen directive was changed from 1GB to 128KB in the mod_fcgid package, causing the limit to be … Read more

Install the Memcache PECL Extension

The easiest installation method for memcache is to use PECL’s ‘install’ command. This will grab the latest stable release, configure it with the default options, and add it to the server’s php.ini: Un-installation is just as easy: Now add the extension so it will load Add the following Restart apache The quick install method for … Read more

Install Memcached

Memcached Memcached is a general-purpose, free and open-source distributed memory caching system. It is one of the most popular caching tools and is used in such popular sites as YouTube, Reddit, Zynga, Facebook, and Twitter. If you also run dynamic, database-driven sites, Memcached may reduce resource consumption and speed up page delivery on your server … Read more

ProFTP – Fatal: error processing configuration file ‘/etc/proftpd.conf’

Error: telnet 216.55.131.xx 21 Trying 216.55.131.xx… Connected to 216-55-131-xx.dedicated.domain.net (216.55.131.95). Escape character is ‘^]’. 216-55-131-xx.dedicated.domain.net proftpd[20885]: error: no valid servers configured 216-55-131-95.dedicated.domain.net proftpd[20885]: Fatal: error processing configuration file ‘/etc/proftpd.conf’ Connection closed by foreign host. Simply run: or Add Restart ftp

MySQL’s wait_timeout and interactive_timeout Variables

Ever get these errors? Mysql reporting error when accessing plesk. Zend_Db_Adapter_Exception: SQLSTATE[08004] [1040] Too many connections. You can set-variable=max_connections=250 to /etc/my.cnf and restart and use mysql close statements for php code. Or, set up mysql to close sleeping processes. Mysql Config. (/etc/my.cnf) wait_timeout variable represents the amount of time that MySQL will wait before killing … Read more

DNS Glue records in WHM

You must add this DNS glue record to use you nameservers. Log into WHM. Navigate to the DNS Functions section. Click on the Edit DNS Zone option. Select the domain that you need to add the Records to. Click the Edit button and wait for the page to load. In the first blank, type ns1. … Read more

MySQL InnoDB Recovery

Mysql Recovery. Error logs shows: When page in clustered key index is corrupted. It is worse compared to having data corrupted in secondary indexes, in which case simple OPTIMIZE TABLE could be enough to rebuild it, but it is much better compared to table dictionary corruption when it may be much harder to recover the … Read more

Domain Masking

Domain Masking (a.k.a. Blind Forwarding) is using a domain name to display a different domain, but still shows the original domain’s name in the address bar. Generally, this is considered a bad idea and not good for SEO, but it is possible. Plesk (Applies to 10 – 11.0) In order to forward a domain blindly, … Read more