Server Configuration and Tuning for Optimal Server Performance

Here is a summary of server configuration for optimal server performance, site speed, and security for a single ecommerce site dedicated server with 16GB RAM. File locations are based on cPanel EA4 Apache 2.4 Event MPM PHP 5.6 PHP-FPM MariaDB 10.3 All configuration values are defined and tuned based on our actual website usages. E.g….

Remove Particular Characters from Search Query String

After switching all database tables from MyISAM to InnoDB, you will want to prevent particular characters as ending character and ( ) in search query to prevent query error This mod will prevent particular characters as ending character of the search term This works for both normal search and quick AJAX search. In /includes/classes/class.search.php Find…