Top Menu

Search results for "apache worker config"

Apache config for Worker MPM vs Prefork MPM

…ic, more user sessions, with less RAM use. Your site or server will not scale well if it is running Prefork MPM. Worker is a bit more difficult to set up properly, and has some restrictions regarding functionality of PHP scripts. To 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… 0, 1, 1, 0 and 2918.84

Continue Reading 4

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

…st version of phpMyAdmin. This post will teach 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… 5, 0, 0, 0 and 985.91

Continue Reading 0
APC INFO Monitor

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

…e testing and raise your server and thread limits to sane levels in httpd.conf If possible, you may wish to run Apache with Worker MPM instead of Prefork MPM. More information about Apache Worker MPM vs. Prefork MPM » Installation Suggestions and Modification of Defaults Be sure to install the newest version of APC, 3.1.9 as of the last revision of this post (I assume you know how to install and configure all the packages mentioned in this pos… 1, 0, 0, 0 and 713.49

Continue Reading 53

Varnish VCL and Config for WordPress with W3 Total Cache

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 Cache. This configuration is for Varnish on a separate server, but should also work on a single serve… 1, 1, 0, 0 and 674.58

Continue Reading 23

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

…his presents challenges in security as well as performance tuning. It is impossible to predict whether a certain configuration will work properly for a given server, unless the hardware, software, accounts, network and traffic are identical to a previously configured server… therefore it is impossible to give a configuration which will cover all applications. Firewall Unnecessary Traffic from Affecting the Server Before you begin performance tuni… 1, 0, 0, 0 and 674.57

Continue Reading 7

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

…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 WordPress installed in a subfolder. This info also assumes you have successfully installed APC… 1, 0, 0, 0 and 415.12

Continue Reading 18
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 337.28

Continue Reading 2

Résumé

Chris Gilligan Information Architect, Web Server Administrator, Media Producer web • video • print chris@chrisgilligan.net 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 […]

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

…les for malicious activity, and offers several options to ban offending IPs and hostnames. Although it is highly configurable, it requires a depth of knowledge beyond that required for GUI-accessible firewalls such as ConfigServer Security & Firewall. Harden the Kernel Before do anything further, it is necessary to harden the server at the kernel level. Doing so will prevent the majority of attacks that Fail2Ban config will have to deal with…. 1, 0, 0, 0 and 155.67

Continue Reading 0