Top Menu

Search results for "php apc configure"

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… 0, 0, 3, 0 and 272.98

Continue Reading 23

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 194.99

Continue Reading 4

Fail2Ban Regex for RedHat, Fedora, CentOS and Amazon Linux 2013

Fail2Ban is a very efficient daemon that scans log files for malicious activity, and offers several options to ban offending IPs and hostnames. Although it is highly configurable, it requires a depth of knowledge beyond that required for GUI-accessible firewalls such as ConfigServer Security & Firewall. Harden the Kernel Before do anything further, it is necessary to harden the server at the kernel level. Doing so will prevent the majority o… 1, 0, 0, 0 and 155.99

Continue Reading 1

Joomla Content Management

If you’ve read anything at all about Content Management Systems (CMS), you’ll probably know that CMS are the most effective way to keep your site relevant to your audience. You also know at least three other things: Keeping your site relevant and up-to-date can be time consuming CMS can be complicated Portals can be expensive […]

Continue Reading 0

Punk Rock Music Community

…ith 3GB RAM. While this is a relatively low-end box, it has plenty of horsepower for a single WordPress site and phpBB3 forum. Punktastic.com web site For this GIG, I soloed on… transferring the site from a WAMP development server to the live LAMP server configuring an active firewall to block the baddies installing monitoring and administration tools tuning Apache and MySQL for high traffic integrating APC PHP Cache to speed up web pages… 1, 0, 0, 0 and 155.99

Continue Reading 0

Apache config for Worker MPM vs Prefork MPM

…and raise your worker server and thread limits to sane levels in httpd.conf If you need to recompile Apache and PHP, then you should do more research. Recompiling is not a trivial process. I found that my server had much better memory usage under Worker MPM, however: some scripts (squirrelmail, phpmyadmin) do not work on a per-domain basis and must be run direct to the actual server process with symlinked directories. This is much more efficie… 2, 0, 1, 0 and 142.99

Continue Reading 2

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 103.99

Continue Reading 6