Contact Menu

Search results for "disable apc for certain url"

APC INFO Monitor

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

…shm_segments = 1 apc.shm_size = 12M apc.optimization = 0 apc.num_files_hint = 512 apc.user_entries_hint = 1024 apc.ttl = 0 apc.user_ttl = 0 apc.gc_ttl = 600 apc.cache_by_default = 0 apc.filters = “-/home/username/public_html/apc/apc\.php$” apc.slam_defense = 0 apc.use_request_time = 1 apc.mmap_file_mask = /tmp/apc-accountname.XXXXXX ;OR apc.mmap_file_mask = /dev/zero apc.file_update_protection = 2 apc.enable_cli = 0 apc.max_file_size = 2M… 93, 1, 4, […]

Continue Reading 54

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

…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.enabled = 1 apc.shm_segments = 1 apc.shm_size = 12M apc.optimization = 0 apc.num_files_hint = 256 apc.user_entries_hint = 1024 apc.ttl = 0 […]

Continue Reading 18
APC INFO Monitor

APC Cache Considerations for Virtual Hosting Environments

…irtual server. However with 200+ virtual hosts all running PHP script packages, as is the case with a commodity shared 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 […]

Continue Reading 4

Varnish VCL and Config for WordPress with W3 Total Cache

…some headers we never want to see unset beresp.http.Server; unset beresp.http.X-Powered-By; # # only allow cookies to be set if we’re in admin area – i.e. commenters stay logged out if( beresp.http.Set-Cookie && req.url !~ “^/wp-(login|admin)” ){ unset beresp.http.Set-Cookie; } # # don’t cache response to posted requests or those with basic auth if ( […]

Continue Reading 23

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

…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 queries directly from cache. Take Time to Get a Realistic Assessment of MySQL […]

Continue Reading 9
Posting from Facebook to Wordpress via RSS

Remote publishing to WordPress from Facebook via RSS

…ge.php?id=195534004499&format=rss20 If your feed’s language needs to be adjusted, for instance if your site is hosted in Netherlands but your audience is in U.S., you will need to add a locale parameter to the feed URL: Try it in Firefox or NetNewsWire or any RSS Reader to see if you get a valid feed. […]

Continue Reading 6 website

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

…he publisher after responding to a plea for assistance in a 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 […]

Continue Reading 4