…desNOEXEC -Indexes MultiViews SymLinksIfOwnerMatch RemoveHandler .php RemoveHandler .php5 IPCCommTimeout 12 </VirtualHost> You must “babysit” the configuration: use the APC monitor (apc.php) to see how many files are being cached, and how much memory (apc.shm_size) is needed to avoid fragmentation, which will cause the 500 errors. If fragmentation rises quickly to 100%, memory usage is full, and cache full count rises above 0, … 13, 0, 1, 0 and 22.44
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 … 9, 1, 3, 0 and 19.68
WordPress with W3 Total Cache on Nginx with APC (Virtualmin)
d will be kept running at all times to serve requests. You can increase this from the default of 4 to improve PHP script latency, or decrease it to reduce memory use. Setting it to None will cause PHP processes to be launched only as needed on demand, and to be cleaned up after some period of inactivity.” Nginx support on Virtualmin is working well, and it is reported that the lead developer, Jamie Cameron, is working on a php-fpm implement… 11, 0, 0, 0 and 17.78
Tuning Apache and MySQL for Best Performance in a Shared Virtual Hosting Environment
Web hosting has changed dramatically in the last few years. The majority of accounts are now running PHP scripts and MySQL, whereas in the past most accounts were only serving static HTML files. This presents challenges in security as well as performance tuning. It is impossible to predict whether a certain configuration will work properly for a given server, unless the hardware, software, accounts, network and traffic are identical to a previou… 7, 1, 1, 0 and 14.99
Load Balancing Virtualmin WordPress Hosting Server with Varnish on AWS
…of primary database server and web server will provide speedy recovery from catastrophic failure. S3 backups of virtual domains on the primary Virtualmin/Apache server will provide speedy restoration of broken code or loss of files. Be aware that creating a system with all of the elements I have described could be very expensive, and probably not necessary unless traffic is in the millions. Website Workflow WordPress sites: Create Virtual Domain… 7, 0, 0, 0 and 10.69
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, 2, 0 and 9.48
Apache and MySql Performance Tuning for High Traffic Website
…imate. Popular sites that do not have a solid security and load balancing strategy are subject to crippling traffic from the Internet’s millions of malicious and compromised servers and personal computers. Reconfigured Apache web server, PHP and MySQL to better utilize the server’s horsepower. Default configurations were limiting the number of concurrent user sessions the server could handle. Changed PHP to run as FastCGI (fcgid) and… 2, 1, 2, 0 and 8.17
Joomla Content Management
…e… if you can use a word processor, you will feel right at home Topic sections can be added to by contributing authors Fully customisable layouts including left, center, top and bottom boxes Browser upload of images and files (flash, JPEGs, PDFs, video, etc.) to your own library for use anywhere in the site Joomla: Powerful, World Class CMS Change order of objects including news, FAQs, articles etc. Random Newsflash generator Remote autho… 2, 0, 0, 0 and 3.26
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 … 2, 0, 0, 0 and 2.97
APC Cache Considerations for Virtual Hosting Environments
…istered by myself, not by the clients. I do not think APC is the correct cache for most shared web hosting servers, given the number of virtual hosts. You will probably have better results if you remove APC and concentrate on Apache performance tuning and MySQL cache. If your clients are adamant in their requests to use APC cache, you may wish to move them to a different server which can properly handle their needs. Virtualmin is a very good choi… 1, 0, 1, 0 and 2.6
-
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 -
Cpanel Mailman mailing lists: cannot manage lists after migrating to new host July 19, 2011
-
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: 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...
-
Jason: Chris, were you able to successfully autoupdate wi...
a little bird told me…
Follow @gilligoon on Twitter





