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, 2, 0 and 78.63
WordPress with W3 Total Cache on Nginx with APC (Virtualmin)
e 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 rewrite errors… See W3TC Settings information below for instructions on how to implement File caching. nginx Compatibility — makes WordPress more compatible with Nginx, allows use of permal… 28, 0, 0, 0 and 38.66
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… 9, 0, 1, 0 and 12.98
Apache and MySql Performance Tuning for High Traffic Website
…up Brazil coming up in 2014, the site will definitely see a huge amount of users. Future plans include changing the architecture of the server to simplify the background processes and implement APC Alternative PHP Cache, or a caching web server front end. Results? I’ll let the publisher speak to that! The site has been as good as “flawless” since, with no downtime, and we couldn’t be happier. Everything is running smoothly… 7, 0, 0, 0 and 10.01
Tuning Apache and MySQL for Best Performance in a Shared Virtual Hosting Environment
ow the appropriate beginning value for [mysqld] maxconnections. Begin with maxconnections set slightly higher than maxclients. 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, based on the information you receive from mysqltuner after 24-48 hours of steady traff… 4, 0, 1, 0 and 7.02
Apache config for Worker MPM vs Prefork MPM
ocess with symlinked directories. This is much more efficient but less convenient for virtual domain owners some /dev processes took on strange group permissions, getting the gid of the first user in the apache group. browser caching was not well supported… the dreaded “blank screen between page loads” occurred more frequently under Worker MPM than Prefork MPM… also login/logout was sketchy on some sites… not sure wh… 3, 0, 1, 0 and 5.69
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
Remote publishing to WordPress from Facebook via RSS
Most WordPress developers know you can use one of several plugins to publish from WordPress to a Facebook wall, app or fan page. Did you know you can also do the opposite? You can publish from Facebook to WordPress by using the FeedWordPress plugin and the RSS feed from your fan page. This can be handy for clients who want to keep their site updated with blog posts, or share links and information, but don’t necessarily want to spend the ti… 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





