Top Menu

Search results for "apache mod_fcgid apc"

APC INFO Monitor

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

…site from affecting overall server performance. Joomla and PHPbb have code that is pre-optimized with hooks for APC, but WordPress requires a plugin called 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 the… 93, 1, 4, 0 and 11712.28

Continue Reading 53

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… 42, 1, 1, 0 and 5173.68

Continue Reading 18
APC INFO Monitor

APC Cache Considerations for Virtual Hosting Environments

APC cache does not work well in a virtual hosting environment unless PHP is running as FCGID, and every individual virtual host has a unique PHP.ini and a unique fcgiwrapper. This is not the case with many virtual hosting environments because the memory and CPU requirements are too great. I suggest using Virtualmin for a shared hosting environment with APC cache, because it does allow to set php.ini and fcgiwrapper for every individual virtual h… 11, 1, 1, 0 and 1624.9

Continue Reading 4

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

…emon to block offending IP addresses with multiple failed HTTP logins. ConfigServer Firewall works well, and has modules for cPanel and Webmin. OSSEC is another reactive IPTables firewall with Apache login failure IP blacklisting. For Amazon EC2, a good practice is to create a discrete database server, and only allow access to it inside a VPC security group, or from specific IP addresses enabled in that security group. That way, you can safely Al… 7, 0, 0, 0 and 1195.94

Continue Reading 0

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

…ollow the recommendations from the Apache tuning, and then follow the recommendations of the tuning scripts. The apache tuning will give you the number of maxclients, and from this you will know the appropriate beginning value for [mysqld] max_connections. Begin with max_connections set slightly higher than Apache’s maxclients. If you are running database caching via APC, you may lower max_connections, because APC will serve the busiest que… 3, 0, 0, 0 and 779.95

Continue Reading 7
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… 2, 0, 1, 0 and 727.95

Continue Reading 4

Apache config for Worker MPM vs Prefork MPM

…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 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… 9, 1, 3, 0 and 688.95

Continue Reading 2

SSL and CloudFront CDN Support for WebFonts via .htaccess

…r security issue. Evidently this is a security measure to prevent cross-site attacks, but you can allow this via Apache mod_headers, to allow your specific CloudFront (or other) domain, specified in the .htaccess file. Some sites have suggested using “*” wildcards to allow all domains… but obviously this is a security issue: with this Header, you are granting JavaScript clients basic access to your resources. I recommend you onl… 3, 0, 0, 0 and 363.98

Continue Reading 0

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… 0, 0, 3, 0 and 363.98

Continue Reading 23

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