Top Menu

Search results for "apc so php ini"

Varnish VCL and Config for WordPress with W3 Total Cache

…ok to cache the response set beresp.ttl = 24h; return (deliver); } # sub vcl_deliver { # add debugging headers, so we can see what’s cached if (obj.hits > 0) { set resp.http.X-Cache = “HIT”; } else { set resp.http.X-Cache = “MISS”; } # remove some headers added by varnish unset resp.http.Via; unset resp.http.X-Varnish; } # sub vcl_hash { hash_data( req.url ); # altering hash so subdomains are ignored. # don’t do this if you actually run diffe… 0, 0, 1, 0 and 194.99

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

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

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 142.99

Continue Reading 2

Remote publishing to WordPress from Facebook via RSS

…y FeedWordPress is a plugin that pulls content from an RSS feed and publishes articles as WordPress posts. It is somewhat complex to set up properly, so I won’t go into that here. It’s up to you to figure it out, but it is very useful for adding non-copyright or permitted content to your site or a client’s site. For instance, I use it to publish bicycle manufacturer’s RSS feeds to a local bike shop’s WordPress site…. 2, 0, 0, 0 and 103.99

Continue Reading 6

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

…l. Harden the Kernel Before do anything further, it is necessary to harden the server at the kernel level. Doing so will prevent the majority of attacks that Fail2Ban config will have to deal with. Do this: Linux kernel sysctl hardening. Prior to learning those trix, I had solely relied upon ConfigServer Security and Firewall (CSF) to block malicious attacks. Heading those off at the kernel level is much more efficient. I’m a huge fan of CS… 1, 0, 0, 0 and 52

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