Top Menu

Search results for "w3tc nginx apache"

WordPress with W3 Total Cache on Nginx with APC (Virtualmin)

Virtualmin now includes support for Nginx web server. I deploy many WordPress sites with W3 Total Cache and APC Alternative PHP Cache, so I was very interested to see how Nginx performance compares to Apache for WordPress, and whether APC and W3TC would play nice with Nginx. I prefer to install WordPress in public_html/wordpress for ease of development, compatibility with other scripts, etc. Accordingly, the suggested configuration is for WordPr… 6, 0, 0, 0 and 4631.24

Continue Reading 18

Install phpMyAdmin with SSL on CentOS, Amazon Linux, RedHat (Apache or NginX)

…ch you how to install phpMyAdmin on CentOS, Amazon Linux, or Redhat. Configuration instructions are provided for Apache and NginX web servers. For this to work properly and safely, you should be running SSL on your host. Otherwise, change the ForceSSL line in the config file provided below… Install phpMyAdmin from EPEL repository Uninstall current PMA: yum erase phpMyAdmin Set up EPEL repo: Find the latest epel-release at http://download.f… 7, 1, 0, 0 and 1284.28

Continue Reading 0
APC INFO Monitor

How to Configure APC Cache on Virtual Servers with PHP running under FCGId

…alled W3 Total Cache. First Things First Please read my posts about APC on commodity virtual hosting servers and Apache and MySQL performance tuning before you begin. If you are running your virtual servers under FCGId, then you should do so for all virtual servers on your machine. Why? Because then you do not need apache’s mod_php (php module). Less modules loaded, less wasted memory. Comment out: LoadModule php5_module modules/libphp5.so… 7, 0, 1, 0 and 908.07

Continue Reading 53
SoccerNews.com website

Apache and MySql Performance Tuning for High Traffic WordPress Website on Cpanel

…c from the Internet’s millions of malicious and compromised servers and personal computers. Reconfigured Apache web server, PHP and MySQL to better utilize the server’s horsepower. Cpanel’s efault Apache and MySQL configurations were limiting the number of concurrent user sessions the server could handle. Changed PHP to run as FastCGI (fcgid) and recompiled Apache to better handle the needs of a high traffic WordPress site. Co… 3, 1, 2, 0 and 726.46

Continue Reading 2

Apache config for Worker MPM vs Prefork MPM

…determine which MPM is running: /usr/sbin/apachectl -l If you see worker.c in the list of loaded modules, your Apache is running Worker MPM. If prefork.c, it is running prefork. To determine if apache has Worker MPM compiled in: /usr/sbin/httpd.worker -l If you see worker.c in the list of compiled-in modules, Apache can run Worker MPM. Here is some useful info to help if your installation of Apache will work with Worker MPM: http://www…. 9, 1, 3, 0 and 687.54

Continue Reading 4

Tuning Apache and MySQL for Best Performance in a Shared Virtual Hosting Environment

…s not support ConfigServer (e.g. Amazon AWS and some VPS may not play well with CSF), you may use Fail2Ban. Tune Apache the Sane Way (Requires Basic Math Skills) If you wish to tune your Apache MPM settings, you should consider following this method: https://telvps.com/clients/knowledgebase/25/HOW-TO-Optimize-Apache-for-Low-Memory-Usage.html (the formula works well as a basic guide… but does not take into account PHP memory requirements… 7, 1, 0, 0 and 467.01

Continue Reading 7

Varnish VCL and Config for WordPress with W3 Total Cache

…rn (pass); } # # else ok to fetch a cached page unset req.http.Cookie; return (lookup); } # # accept purges from w3tc and varnish http purge sub vcl_hit { if (req.request == “PURGE”) { purge; } return (deliver); } # # accept purges from w3tc and varnish http purge sub vcl_miss { if (req.request == “PURGE”) { purge; } return (fetch); } # sub vcl_fetch { # # remove some headers we never want to see unset beresp.http.Server; unset beresp.http.X-Powe… 1, 0, 0, 0 and 298.37

Continue Reading 23

Web Hosting

Decades of experience hosting websites, from small local sites with only a few html pages, to high-traffic sites with thousands of users and pages.  Website hosting, evolved Web hosting has changed dramatically in the last few years. The majority of accounts are now running PHP scripts and MySQL, whereas in the past most accounts were only […]

Continue Reading

WordPress Fail2Ban RegEx for RedHat, CentOS, Amazon Linux

VacantServer WordPress sites are getting hammered with bad logins and probes. We’ve implemented a plugin to log failed login attempts to syslog, and a Fail2Ban filter for the same. If you run these on RedHat, you’ll need some additional configuration info… here it is: WordPress login failure regex (error_log):

Apache nohome regex (error_log):

[…]

Continue Reading 0

Fail2Ban Regex for RedHat, Fedora, CentOS and Amazon Linux 2013

…, one could create a cloud group with public facing, load-balanced Varnish reverse proxies that interact with an Apache or NginX app server, and that app server connects to the database cohort. The only publicly-accessible servers would be the web proxies. This is similar to what one might expect in a traditional network operations center. Learn some RegEx Learning a bit about RegEx will benefit the admin in virtually every programming endeavor:… 1, 0, 0, 0 and 155.67

Continue Reading 0