Redis/MediaWiki: Difference between revisions

From Bibliotheca Anonoma
No edit summary
Line 7: Line 7:
== Redis with HHVM ==
== Redis with HHVM ==


Redis support is built into HHVM.
Redis support is built into HHVM. You can just set redis as a save handler in HHVM.
 
{{hc|/etc/hhvm/php.ini|<nowiki>
session.save_handler = redis
session.save_path = "tcp://localhost:6379"
</nowiki>}}
 
Once that's done, [[mw:Redis|set that in mediawiki as well.]]


* [https://segmentfault.com/q/1010000004968214 Source: HHVM + mediawiki 怎么配置]
* [https://segmentfault.com/q/1010000004968214 Source: HHVM + mediawiki 怎么配置]

Revision as of 00:55, 17 January 2017

Leleahcimjconstruction.gif

Stub

This page is a stub. You can help by expanding it.

Redis can be used as an alternative to memcached, and function as the job queue (no more running runJobs.php)

https://blog.go2tech.de/2016/02/the-jobqueue-how-droidwiki-de-runs-jobs/

Redis with HHVM

Redis support is built into HHVM. You can just set redis as a save handler in HHVM.

/etc/hhvm/php.ini
session.save_handler = redis
session.save_path = "tcp://localhost:6379"

Once that's done, set that in mediawiki as well.