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 |
#222
|
||||
|
||||
ok recompiled xcache and still no datastore vars are going into it.
Here's my phpinfo by the way http://www.chilehardware.com/info.php |
#223
|
|||
|
|||
IrPr - Make sure the OOMs disappear.
Amenadiel - Double check that you have proparly uploaded the class_datastore_xcache.php & edited correctly class_datastore.php & config.php |
#224
|
||||
|
||||
Already did. Perhaps it's a problem of file permisions... perhaps I should set datastore_xcache as an exception in lighty in order to avoid being redirected by vbseo?
where is class_datastore.php being called? I can't see an entry in config.php, just $config['Datastore']['class'] = 'vB_Datastore_XCache'; must I enable datastore caching somewhere in config or admin panel? Anyway, why not install memcached or file based datastore? |
#225
|
|||
|
|||
how do i know what value do i put for xcache.size and xcache.var.size ? whats the best values?
|
#226
|
|||
|
|||
Hey guys,
I have xcache installed on the server as a whole, and it sped up my forums greatly. Page loads went from 5-8 seconds to under 2 for the vbulletin areas. Would installing this hack (Im on pre 3.6.X) for the datastore, provide an even greater increase to speed, load, etc? I have a pretty busy forum with some heavy scripts running along side (multiple G2 galleries, etc etc). So if I can reduce further the forum needs, those other scripts might speed up too. Just wondering if applying this to datastore is worth it if it is already kicking ass on a PHP level. Thanks! |
#227
|
|||
|
|||
Before upgrading to 3.6.9 vb had in this mod version 3.6.8 installed and my vbulletin was very fast now after upgrading will not let me install this mod and is very slow
that I can do? Thanks |
#228
|
|||
|
|||
i have no idea how to install xcache on the server... i run a centOS server and i've tried either using rpm and yum install....
any idea? thanks |
#229
|
|||
|
|||
Quote:
|
#230
|
|||
|
|||
How to install the X-Cache under Windows?
I just found this INSTALL File with this text in it: Quote:
|
#231
|
|||
|
|||
Please somebody help me with 3 questions:
I have 512Mb on my dedicated. Is it right to make: xcache.size = 64M xcache.var_size = 64M ? I have a Template Cache 0.0.4 installed and not sure about the size of xcache. Do I need to enable xcache.optimizer? Default it is in Off state. Do I need to make xcache.optimizer = On ? I have a Fedora 7 installed on my server. Is it better to make xcache.so in xcache.ini installed as a zend_extension or php extension? I have "extension = xcache.so" uncommented. By the way, here is my phpinfo http://www.ulver.com/info.php Thanks in advance. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|