vBulletin ModsThe Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=322892 |
|
|
+1 thanks Paul! (couldn't like so saying thanks!)
|
NICE!
|
Glad to see vb4 is still being worked on. Maybe we'll see version 4.3 some day :) (I would guess this would be the final release of PHP 7 compatibility, after the new update clears alpha & beta tests).
|
There wont ever be a 4.3.
|
Quote:
I wanted to upgrade to PHP7 but because vB4 didn't support it so I have to wait this version Hope to have stable version soon. Thanks Paul and cheers, |
Well it needs people to actually download and use the Alpha, otherwise any issues are not going to be found.
|
I've begun to play with the 4.2.5 Alpha 2 with PHP 7.0.8. So far, the only problem I've found is about the datastore. The problem is that vB_Datastore_Memcached uses the older "Memcache" [1] extension, which I believe has been dropped from PHP7, instead of the newer "Memcached" [2] (note the final d).
The API of both versions look similar, but are not identical (for instance, i noticed that the set and add methods no longer accept a $flag parameter). Then, I tried to use the file cache. After getting the permissions of the datastore folder right, it seems to work. With opcache enabled, the filecache might be fast, but I'd rather like to keep Memcached support. Paul, can we expect a vB_Datastore implementation with the Memcached extension in a upcoming alpha? I could give it a try, but since I'm not familiar with vb internals i don't feel confident enough. On a related note (although I'm not personally affected by that and I didn't test it), in the ACP datastore won't work in PHP7, but there's a very similar extension called ACPu [3] which drops opcode cache (since its available in bundled opcache) but keeps the variable store. I'll keep testing other areas of the beta. [1] http://php.net/manual/en/class.memcache.php [2] http://php.net/manual/en/class.memcached.php [3] http://php.net/manual/en/book.apcu.php EDIT: Added this to jira (VBIV-16220) since I couldn't find it already. |
You belief seems untrue. I have both Memcache & Memcached available to install for php 7.0, and in fact, only Memcache available for 7.1 atm.
Related, I have updated APC in Alpha 3 to use APCu, as that is still supported, while APC is not. (APCu is basically just the key/data part of APC, as php 7 now uses a different opcode cache). xCache is also not supported on php 7. |
Right, sorry, looks like the package in ondrej's repository is php-memcache (I was expecting php7.0-memcache).
And yeah, mOo seems to have given up on xcache according to his lasts replies in the group (from a year ago): https://groups.google.com/forum/#!forum/xcache Will do some testing now that I have everything working. |
Really like this topic/update and thanks Paul for making vB4 a new level :up:
Quote:
I could not test it on my running forum, it can appear errors to visitors which i don't want if that happens. Quote:
or do I need to remove datastore memcached when upgraded to php7? |
To run memcached you need a server running memcache.
Pretty obviously really so I'm not sure whats unclear about it. How you set that server up is down to you, all vb cares about is connecting to it. Unless you have some specific reason for using it then just switch to APCu. My test set-up is running the new opcache, and apcu, and running very nicely. |
4.2.5 Beta 1 has been released today.
|
PHP 7.1 has been released. I just updated PHP on my server to PHP 7.1 and it seems to be running fine and a bit faster. TTFB went down by about 50-100ms.
|
All times are GMT. The time now is 08:05. |
Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.