Some installations of Apache will have been compiled to work with either Prefork or Worker MPM, but most by default are compiled only to work with Prefork. Changing to Worker MPM may allow your server to handle much higher traffic, more user sessions, with less RAM use. Your site or server will not scale well […]
Search results for "mpm worker with php5"
…not need apache’s mod_php (php module). Less modules loaded, less wasted memory. Comment out: LoadModule php5_module modules/libphp5.so in /etc/httpd/conf.d/php.conf Remove any php_memory_limit lines in httpd.conf’s virtual hosts section. restart apache do some performance testing and raise your server and thread limits to sane levels in httpd.conf If possible, you may wish to run Apache with […]
…he same IP addresses. If your host does 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 […]
I have been working on a Varnish front-end for Apache, to be used with WordPress sites. I described the architecture in Load Balancing Virtualmin WordPress Hosting Server with Varnish on AWS. I now have a configuration that seems to work for all WordPress features, including logged-out commenting. This configuration also works well with W3 Total […]
Chris Gilligan Information Architect, Web Server Administrator, Media Producer web • video • print firstname.lastname@example.org chrisgilligan.com I design and produce information and communication media for university, corporate, small business, manufacturing and non-profit clients: web sites Information architecture and design for open source content management systems Linux Apache MySQL PHP web server administration Postfix Dovecot Sendmail […]
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 […]
…ing to a plea for assistance in a WordPress.org support forum. Though the site was running on a dedicated server with 8GB RAM, it was crashing frequently under load. The developer tried implementing APC Alternative PHP Cache and W3 Total Cache, but these measures turned out to be incompatible with some of the custom PHP […]