The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Can I install Memcached with PHP 7.1?
I want to use php7.1, memcached and mariadb for my hosting forum but I failed to install memcached on php7.0 around 2 months ago. Recent weeks I heard about PHP7.1 has been released and heard that it supported memcached. !?!?
I want to try again with vB 4.2.5 which supports PHP 7, it will help my vB forum load faster. My question is, can I install Memcached with PHP 7.1? Did any one try this? and succeeded? Thanks in advance. |
#2
|
|||
|
|||
I believe it does not support PHP 7 yet. Just configure PHP OPCache properly and you don't even need memcached.
|
2 благодарности(ей) от: | ||
Kane@airrifle, Mattwhf |
#3
|
|||
|
|||
Quote:
I saw memcached helped our forum load faster (beside Cloudflare) and I could not remove this option though. I had PHP OPCache installed on the server but to be honest it can not compare with memcached. |
#4
|
|||
|
|||
Quote:
|
#5
|
||||
|
||||
Quote:
You are better off just using APCu (for the datastore) & OPCache for php caching. My test server runs php 7.1 like this. |
2 благодарности(ей) от: | ||
bzcomputers, KevinL |
#6
|
|||
|
|||
Quote:
Quote:
and that requires memcache Code:
$config['Datastore']['class'] = 'vB_Datastore_Memcached'; $i = 0; // First Server $i++; $config['Misc']['memcacheserver'][$i] = '127.0.0.1'; $config['Misc']['memcacheport'][$i] = 11211; $config['Misc']['memcachepersistent'][$i] = true; $config['Misc']['memcacheweight'][$i] = 1; $config['Misc']['memcachetimeout'][$i] = 1; $config['Misc']['memcacheretry_interval'][$i] = 15; Quote:
My vB4 is working as a charm and it would be more greater if I run it with php7 and mariadb. Thank you! |
#7
|
||||
|
||||
Quote:
The class is badly named as Memcached, I have no idea why, but that's fixed in 4.2.5. As to APCu, google it |
#8
|
|||
|
|||
Quote:
Is their any specific config to edit in APCu to increase performance and compatibility with vBulletin ? Also another question is 4.2.5 compatible with PHP 7.1 ? Thanks |
#9
|
||||
|
||||
Quote:
My test site has the default single 32M segment and that seems to be far more than it needs, so it runs great. Aside from any issues not yet encounted, yes. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|