Top 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

APC INFO Monitor My Virtualmin CentOS 5.6 Virtual Private Server runs several virtual domains with PHP under FCGId using APC for opcode caching: Joomla, PHPbb, WordPress, etc . APC is somewhat challenging to configure properly with fcgid-enabled virtual domains, but it is quite helpful to optimize system resources and prevent traffic surges on one site from affecting overall server performance. Joomla and PHPbb have code that is pre-optimized w… 93, 1, 4, 0 and 5095.68

Continue Reading 53

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

…modules, go to Virtualmin Package Updates (wbm-virtualmin-nginx and wbm-virtualmin-nginx-ssl). WordPress Plugins for this Setup W3 Total Cache — adds opcode cache, minification, browser cache and page cache capabilities to WordPress… and it works with Nginx. Works best with Alternative PHP Cache to provide opcode and database cache. Setting APC for all caches works easiest with Nginx… setting to file caching introduces URL rewr… 5, 0, 0, 0 and 2846.83

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 714.95

Continue Reading 4

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… 5, 0, 0, 0 and 636.97

Continue Reading 23

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

…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 Performance If you have a PHP opcode and database caching strategy (such as APC) implemented on your web server and for your PHP script packages, you will be able to lower maxconnections,… 1, 0, 0, 0 and 467.98

Continue Reading 7

Automated WordPress Installation Via Custom Virtualmin Script Installer

…fo) # Returns a list of files needed by WordPress, each of which is a hash ref # containing a name, filename and URL — set virtualmin to 0 to use the url sub script_custompress_files { local ($d, $ver, $opts, $upgrade) = @_; local @files = ( { ‘name’ => “source”, ‘file’ => “custompress-$ver.zip”, ‘url‘ => “https://s3.amazonaws.com/cgilligan-share/custompress.zip”, ‘virtualmin’ => 0, ‘nocach… 5, 0, 0, 0 and 259.99

Continue Reading 39

Remote publishing to WordPress from Facebook via RSS

…get access to the feed by contacting the owner of the content being syndicated in that feed. You will get a RSS URL: http://www.facebook.com/feeds/page.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: http://www.facebook.com/feeds/page.php?id=195534004499&format=rss2… 3, 0, 0, 0 and 155.99

Continue Reading 6
SoccerNews.com website

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

…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 Cache and W3 Total Cache, but these measures turned out to be incompatible with some of the custom PHP code and the software archite… 2, 0, 1, 0 and 142.99

Continue Reading 4