Contact Menu

Search results for "where is fcgid conf on centos"

APC INFO Monitor

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

…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/ 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 […]

Continue Reading 54

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

…but you must configure Nginx to use them. You should add or edit the following URL path locations to nginx.conf for your virtual domain… either by direct edit, or via URL Path Locations in Virtualmin > Services > Configure Nginx Website (see attached image…). This config is for WP installed in /public_html/wordpress, so you will […]

Continue Reading 18
Screen Shot 2012-09-07 at 11.09.50 AM

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

…udepkgs=phpMyAdmin php-php-gettext I have removed RPMforge repo due to some recent problems, but if you still need rpm forge repo: exclude=phpMyAdmin php-php-gettext Install PMA: yum install phpMyAdmin Apache Edit /etc/httpd/conf.d/phpMyAdmin.conf Allow all incoming hosts for a web hosting server, or only allow hosts you require: localhost, your local workstation, etc.) For a hosting server with […]

Continue Reading 0

Varnish VCL and Config for WordPress with W3 Total Cache

…g. 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 server with appropriate changes to the port and backend IP settings. Varnish Config (/etc/sysconfig/varnish) # Configuration file for varnish # # /etc/init.d/varnish expects the variable $DAEMON_OPTS to be set […]

Continue Reading 23

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): ^%(__prefix_line)sAuthentication failure for .* from <HOST>$ […]

Continue Reading 0
APC INFO Monitor

APC Cache Considerations for Virtual Hosting Environments

…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 host, and so to set an individual configuration for APC per virtual server. However with 200+ virtual hosts all running PHP script packages, as is […]

Continue Reading 4 website

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

…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. Configured a large MySQL table and query cache based on performance and load testing. Configured Amazon CloudFront Content Distribution […]

Continue Reading 4


Chris Gilligan Web Developer, Information Architect, Web Server Administrator, Media Producer web • video • print 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 Front-end UI design, HTML, PHP, LESS Linux Apache […]

Continue Reading