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 wi… 49, 1, 4, 0 and 85.04
WordPress with W3 Total Cache on Nginx with APC (Virtualmin)
e these will over-write the local nginx.conf file. Conclusion Sorry, no benchmarks. See my example/test site here. Nginx support on Virtualmin is working well, though I don’t see much improvement over Apache in terms of initial index page load, or time to first byte on the WordPress test site I created. Cached and subsequent pages load very quickly, so it looks like there is an overall improvement. All WordPress functions seem to work well… 32, 0, 0, 0 and 50.12
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… 13, 0, 2, 0 and 25.25
Apache and MySql Performance Tuning for High Traffic Website
…ter 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 architecture of the server. Haphazardly implementing randomly suggested “solutions”… 6, 0, 0, 0 and 7.99
Tuning Apache and MySQL for Best Performance in a Shared Virtual Hosting Environment
_buffer_length = 1M max_allowed_packet = 4M myisam_sort_buffer_size = 24M sort_buffer = 8M key_buffer = 32M table_cache = 1000 query_cache_size = 128M thread_cache_size = 8 innodb_buffer_pool_size = 22M join_buffer_size = 12M tmp_table_size = 64M max_heap_table_size = 32M max_connections = 85 This is for example only! table_cache should be set a little higher than the total number of tables (sum of MYISAM,INNODB,MEMORY etc.), as reported by mysq… 4, 0, 1, 0 and 7.58
Web Hosting
…ancing, RDS MySQL, S3 Storage, Cloudfront Cache, and more Virtual Private Server Slice of a Dedicated server, with guaranteed RAM up to 4GB and a single CPU Locations in U.S., Canada, Netherlands, Germany High Traffic PHP hosting PHP, MySQL, Apache or NginX, APC Cache Dedicated Mail Server, Postini Spam filtering Appropriate for busy blogs, e-commerce, etc. Basic PHP hosting PHP, MySQL, NginX Small local business sites or blogs wit… 4, 0, 0, 0 and 5.32
Recursive chmod Tricks
Recursively chmod only directories find . -type d -exec chmod 755 {} \; Similarly, recursively set the execute bit on every directory chmod -R a+X * The +X flag sets the execute bit on directories only Recursively chmod only files find . -type f -exec chmod 644 {} \; Recursively chmod only PHP files (with extension .php) find . -type f -name ’*.php‘ -exec chmod 644 {} \; … 3, 0, 1, 0 and 4.99
Résumé
Chris Gilligan Information Architect, Web Server Administrator, Media Producer web • video • print chris [at] chrisgilligan [dot] net chrisgilligan.com I design and produce information and communication media for 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 mail … 3, 0, 0, 0 and 3.99
Apache config for Worker MPM vs Prefork MPM
Some installations of Apache will have been compiled to work with either Prefork or Worker MPM, but most by default are compiled only to work with Prefork. Changing to Worker MPM may allow your server to handle much higher traffic, more user sessions, with less RAM use. Your site or server will not scale well if it is running Prefork MPM. Worker is a bit more difficult to set up properly, and has some restrictions regarding functionality of PHP … 2, 0, 1, 0 and 3.66
Remote publishing to WordPress from Facebook via RSS
…icated error message into the location bar of your browser. This probably means that you can’t see the feed that you were trying to access. This is probably because the owner of the feed changed his or her privacy settings or deleted content on the feed. You may be able to 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&… 2, 0, 0, 0 and 2.66
-
How to Configure APC Cache on Virtual Servers with PHP running under FCGId November 8, 2010 -
WordPress with W3 Total Cache on Nginx with APC (Virtualmin) March 12, 2012 -
Organic Farm Website with Slideshows and Content Management November 13, 2009 -
Remote publishing to WordPress from Facebook via RSS July 25, 2011 -
Load Balancing Virtualmin WordPress Hosting Server with Varnish on AWS May 17, 2012
-
Load Balancing Virtualmin WordPress Hosting Server with Varnish on AWS May 17, 2012 -
Automated WordPress Installation Via Custom Virtualmin Script Installer May 17, 2012 -
Professional Social Network May 3, 2012 -
Punk Rock Music Community April 10, 2012 -
WordPress with W3 Total Cache on Nginx with APC (Virtualmin) March 12, 2012
-
Chris Gilligan: I was having some issues with cacheable content no...
-
Chris Gilligan: NVM the comment about slowness. I did some researc...
-
Chris Gilligan: I have a test version of this topography setup and...
-
Jones: Add me to the list of people that have been lookin...
-
Chris Gilligan: Yes, autoupdate works. Virtualmin does run nginx a...
a little bird told me…
Follow @gilligoon on Twitter





