Contact Menu

Search results for "enable apc by domain"

APC INFO Monitor

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

…’s Page Cache, choose Enhanced Disk. Minify: do not choose APC for Minify, use Disk. Opcode Cache: choose APC for Opcode Cache Database Cache: choose APC for Opcode Cache For APC running on virtual servers for opcode caching: Remove apc.ini from /etc/php.d. Do not add the APC configuration into /etc/php.ini (main php.ini which is probably […]

Continue Reading 54
virtualmin-nginx-wordpress-permalinks-apc

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

…mplementation of Nginx uses php-fastcgi, each virtual domain will load its own php.ini file, so you can add the APC directives to that file (/home/domainname/etc/php5/php.ini) Add the following to php.ini (adjust to your requirements) [APC] extension = apc.so apc.enabled = 1 apc.shm_segments = 1 apc.shm_size = 12M apc.optimization = 0 apc.num_files_hint = 256 apc.user_entries_hint = […]

Continue Reading 18
APC INFO Monitor

APC Cache Considerations for Virtual Hosting Environments

…hared hosting server, this will use a lot of memory, and you will need somewhere in the neighborhood of 10-30GB apc.shm_size if you attempt to configure a single APC cache for the entire server. My web hosting server is for a small number of personal clients, so I adjust the APC settings for each individual […]

Continue Reading 4
LAMP-linux-apache-mysql-php

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

…e should be set a little higher than the total number of tables (sum of MYISAM,INNODB,MEMORY etc.), as reported by mysqltuner. If you anticipate adding more virtual hosts, or clients adding more databases or tables, you will need to raise table_cache value. Follow the recommendations from the Apache tuning, and then follow the recommendations of […]

Continue Reading 8
SoccerNews.com website

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

…s items. Advertising and sponsored referrals provide the revenue stream. SoccerNews.com website I was contacted by the publisher after responding 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 […]

Continue Reading 4
wordnish

Varnish VCL and Config for WordPress with W3 Total Cache

…> 0) { set resp.http.X-Cache = “HIT”; } else { set resp.http.X-Cache = “MISS”; } # remove some headers added by varnish unset resp.http.Via; unset resp.http.X-Varnish; } # sub vcl_hash { hash_data( req.url ); # altering hash so subdomains are ignored. # don’t do this if you actually run different sites on different subdomains if […]

Continue Reading 23

Résumé

Chris Gilligan Web Developer, 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 Front-end UI design, HTML, PHP, LESS Linux Apache […]

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

Continue Reading 0