The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
datastore cache to XCache - boost your vBulletin Details »» | |||||||||||||||||||||||||||
datastore cache to XCache - boost your vBulletin
Developer Last Online: Mar 2008
(note: do not apply this patch on vBulletin 3.7 as it's included already) This patch allow you to use XCache as a datastore cache in vBulletin. This is definitely your choice if you have installed and enabled XCache on you server already. Take care that this is a beta version and was not heavily tested. And i'm not familiar with vBulletin source code as i just started reading it today, but i don't have any difficulty reading it thanks to my years of php skill Take aware that some vB plugin is not compatible with vB_datastore_*, not just vB_datastore_XCache. So, in case you find vB_datastore_XCache won't work, you'd better try datastore to file or memcache. If one of the others works but not vB_datastore_XCache, do report it to me so i can fix it. Pre-requirement
Install the modification for those of you who can't run "patch", u may patch the file manually
example class_datastore.php after modification: PHP Code:
PHP Code:
q. i have multiple vBulletin instance installed, the seems to mix data after install this plugin a. this applies to apc too because, if you wanna fix it, try open class_core.php, look for: $this->prefix =& $this->registry->config['Datastore']['prefix']; and modify to: $this->prefix = $this->registry->config['Datastore']['prefix'] . $_SERVER['SERVER_NAME']; // or HTTP_HOST q. Warning: unserialize() expects parameter 1 to be string, array given in $a.php on line $b a. upgrade your plugin/hack that $a.php belongs to, e.g. vbjournal/vbgallery etc. OR open $a.php and locate at line $b, remove unserialize call, e.g.: replace $var = unserialize($this->data); with $var = $this->data; be careful do not remove the whole line, just the unseralize( and ) Supporters / CoAuthors Show Your Support
|
Comments |
#182
|
|||
|
|||
So this will boost the speed of your site? also does this work on version:3.6.8?
|
#183
|
||||
|
||||
Quote:
http://xcache.lighttpd.net/report OR u can post it at http://forum.lighttpd.net/forum/4 Quote:
slowing down the site- there mite be many reason yes- working with 3.6.8 - No Problem at all |
#184
|
|||
|
|||
Can someone post a working php.ini (the xcache part) ?
I continuously get the following error: Fatal error: XCache not installed in /includes/class_datastore_xcache.php on line 34 Link to phpInfo: http://74.86.70.196/phpinfo.php Here's my php.ini xCache part: Code:
[Zend] zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so [xcache-common] ;; install as zend extension (recommended) zend_extension = /usr/local/lib/php/extensions/no-debug-non-zts-20060613/xcache.so ;; install as zend extension with thread-safe ; zend_extension_ts = /usr/local/lib/php/extensions/non-debug-zts-xxx/xcache.so ;; install as PHP extension (extension_dir must be set to the full path to xcache.so) ; extension = xcache.so [xcache.admin] xcache.admin.user = "Trajcek" xcache.admin.pass = md5($mymd5ishere) [xcache] xcache.shm_scheme = "mmap" xcache.size = 16M xcache.count = 1 xcache.slots = 8K xcache.ttl = 0 xcache.gc_interval = 0 xcache.var_size = 2M xcache.var_count = 1 xcache.var_slots = 8K xcache.var_ttl = 0 xcache.var_maxttl = 0 xcache.var_gc_interval = 300 xcache.test = Off xcache.readonly_protection = Off xcache.mmap_path = "/dev/zero" xcache.coredump_directory = "" xcache.cacher = On xcache.stat = On xcache.optimizer = Off [xcache.coverager] xcache.coverager = Off xcache.coveragedump_directory = "" There are some cases too when apache fails to start |
#185
|
||||
|
||||
Just in case no one has noticed yet - xcache support has been added to vbulletin 3.7.
|
#186
|
|||
|
|||
Yesh! I'm using 3.7 I noticed it last night.
|
#187
|
||||
|
||||
That's great!
|
#188
|
|||
|
|||
MM it's a great modz but it has strange behaviors on my server. I got 2 vbulletin board on the same machine and using xcache datastore on both i got the same datastore on them even if the link to different db. :P
|
#189
|
|||
|
|||
i've added trouble shooting at the first post for those who have problem with a. mixing data, b. unserialize() warning
|
#190
|
|||
|
|||
Quote:
( phpxcache are you mOO the xcache dev? ) |
#191
|
|||
|
|||
Quote:
and yes, i am. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|