Contact Menu

Search results for "change apc mmap_file_mask per virtual host"

APC INFO Monitor

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

…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 with hooks for APC, but WordPress requires a plugin called W3 Total Cache. First Things First Please read my posts about APC on commodity virtual hosting servers and Apache […]

Continue Reading 52
virtualmin-nginx-wordpress-permalinks-apc

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

…ope this rumor is true! W3 Total Cache Settings Provided you use the nginx.conf settings described above, using APC cache for all W3TC categories of cache/minify/etc. will work with no additional changes to the conf file. However, if you wish to choose Disk cache for page and/or minify cache, URL rewriting will not work properly […]

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 […]

Continue Reading 4
LAMP-linux-apache-mysql-php

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 […]

Continue Reading 8
wordnish

Varnish VCL and Config for WordPress with W3 Total Cache

…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 […]

Continue Reading 23
wordpress-installation

Automated WordPress Installation Via Custom Virtualmin Script Installer

…c “Custom WordPress” replace ALL instances of script_wordpress with script_custompress (id to match filename) link to your zip: ‘url’ => “file://localhost/path/to/copy-of-latest.zip” (~line 150 after # script_wordpress_files) this must be retrievable via wget from YOUR SERVER (test this via terminal command) change ‘virtualmin’ => 0 to NOT use virtualmin scripts repo! (~line 152) Your custom file […]

Continue Reading 43
Screen Shot 2012-09-07 at 11.09.50 AM

Install phpMyAdmin with SSL on CentOS, Amazon Linux, RedHat (Apache or NginX)

…Linux, or Redhat. Configuration instructions are provided for Apache and NginX web servers. For this to work properly and safely, you should be running SSL on your host. Otherwise, change the ForceSSL line in the config file provided below… Install phpMyAdmin from EPEL repository Uninstall current PMA: yum erase phpMyAdmin Set up EPEL repo: Find […]

Continue Reading 0

WordPress Fail2Ban RegEx for RedHat, CentOS, Amazon Linux

VacantServer WordPress sites are getting hammered with bad logins and probes. We’ve implemented a plugin to log failed login attempts to syslog, and a Fail2Ban filter for the same. If you run these on RedHat, you’ll need some additional configuration info… here it is: WordPress login failure regex (error_log): ^%(__prefix_line)sAuthentication failure for .* from <HOST>$ […]

Continue Reading 0
Posting from Facebook to Wordpress via RSS

Remote publishing to WordPress from Facebook via RSS

…inal window with the ping command. Otherwise, Facebook.com will resolve to the IP address and language for your host server. This causes synchronization issues and may cause a sync timeout which can block your pages from loading. FeedWordPress Syndication OK, now you have a valid feed. Add it to FeedWordPress. The settings you may wish […]

Continue Reading 6