This is a guide to effectively use SpamAssassins sa-learn to help train tokens for spam flagging accuracy. What is ‘sa-learn’? Given a typical selection of your incoming mail classified as spam or ham (non-spam), this tool will feed each mail to SpamAssassins, allowing it to ‘learn’ what signs are likely to mean spam, and which are likely […]
MySQL/MariaDB It is very simple to set up remote connections in MySQL/MariaDB thanks to the WHM and cPanel interfaces. You will need to known advance what IP/hostname, or IPs/hostnames, require database access because you will need to specify them in the panel. If your IP is dynamic, you may be able to inquire your ISP […]
Memcached Memcached is a memory object caching system for speeding up dynamic web applications… It’s open source and has been designed to work with a large number of open connections. Database calls, API calls, or page rendering are a few examples of the arbitrary data results that are stored in memory to alleviate database load. One can […]
Overview Each time when PHP script executes on the server it goes through the following stages: tokenizing, parsing, compilation, and interpretation. PHP opcode caching allows skipping the first 3 stages by storing pre-compiled scripts in shared memory and reusing them. This significantly increases the performance of running PHP scripts. It is important to know […]
PHP error logging for your site is an optional level of logging that can be enabled to log errors that occur with PHP code. There are several reasons you may choose to enable PHP error logging. You may want to enable PHP error logging if you’re actively developing your site to aid in troubleshooting. If […]
If you are experiencing database connection errors, then look no further for troubleshooting assistance! This guide details the common causes of the dreaded Database connection error, how to find the root cause, and what to do to fix it. The commands in this article work with MySQL or MariaDB on CentOS 6 or 7 cPanel […]
Most applications need databases to properly work, and although for the most part we do not need to modify these databases, we do need to create, delete, backup and restore databases from time to time. In this article we are going to review how to create tables in phpMyAdmin. Since this process is very simple, […]
Introduction When transferring files to or from your server, it’s always best to compress them to make the transfer slightly smaller, and most importantly guard against corruption during the transfer process. What is compression? Any Windows, Linux and Apple computer are able to compress files. There are several different kinds of compression, but we’ll focus […]
cPanel deprecated Ruby on Rails in cPanel & WHM version 66 since it is not supported on CentOS 7 servers. Rails is a Ruby application, and they support Ruby applications via cPanel’s Application Manager interface (Home » Software » Application Manager), so this can technically be done. However, I cannot promise that it will run seamlessly forever […]
Occasionally, while troubleshooting issues with a site, it can be useful to see all in one place all the current configuration for php affecting a particular folder or file. This can be done with the php function phpinfo. Among other things, this function can tell you the currently loaded php modules, the currently loaded php settings, […]