Skip to content

Instantly share code, notes, and snippets.

@weskoop
Created September 27, 2012 21:27
Show Gist options
  • Star 10 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save weskoop/3796570 to your computer and use it in GitHub Desktop.
Save weskoop/3796570 to your computer and use it in GitHub Desktop.
My current Linode Symlinked WP Core, APC/Batcache Setup
Site Root /
content/
advanced-cache.php
index.php
mu-plugins/ -> /shared/wp/mu-plugins
object-cache.php
plugins/
themes/
uploads/
index.php
wp/ -> /shared/wp/LATEST
wp-config.php (Define WP_APC_KEY_SALT!!!!)
/shared/wp/
3.4.1/ (Clean WP Install)
3.4.2/ (Clean WP Install)
LATEST -> 3.4.2/ (Link to the latest WP, sites will link to here)
MASTER -> WordPress/ (MASTER is the lastest WP, a cronjob updates)
mu-plugins/
batcache.php
disable-core-update.php (Disable Core updates)
WordPress/ (SVN Repo)
wp-config.php (This file is a quick fix, contains:
<?php include_once("${_SERVER['DOCUMENT_ROOT']}/wp-config.php"); ?>
)
------
APC usage is great, since the opcache only caches the wordpress core once (per version used).
@weskoop
Copy link
Author

weskoop commented Aug 13, 2013

Now works great on MS

@ajmorris
Copy link

@weskoop What does your wp-config.php file look like for the site root? Is it similar to WP Stack's?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment