vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   PHP 7 (vB4) (https://vborg.vbsupport.ru/showthread.php?t=322892)

Paul M 06-21-2016 10:05 PM

PHP 7 (vB4)
 
For anyone interested in vB4 / PHP7.

http://www.vbulletin.com/forum/forum...4-php7-testing

Paul M 08-04-2016 10:09 AM

4.2.5 Alpha 1

http://www.vbulletin.com/forum/forum...bulletin-4-2-5

TheLastSuperman 08-04-2016 07:20 PM

+1 thanks Paul! (couldn't like so saying thanks!)

Gio~Logist 08-05-2016 02:18 PM

NICE!

final kaoss 08-05-2016 04:12 PM

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).

Paul M 08-05-2016 04:34 PM

There wont ever be a 4.3.

webmastersun 08-06-2016 01:30 PM

Quote:

Originally Posted by Paul M (Post 2574337)

Good news today.

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,

Paul M 08-07-2016 12:09 PM

Well it needs people to actually download and use the Alpha, otherwise any issues are not going to be found.

Pod 08-21-2016 07:32 PM

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.

Paul M 08-22-2016 02:45 PM

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.


All times are GMT. The time now is 11:42 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01222 seconds
  • Memory Usage 1,733KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete