Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 22 Jun 2016, 00:05
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
PHP 7 (vB4)

For anyone interested in vB4 / PHP7.

http://www.vbulletin.com/forum/forum...4-php7-testing
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #2  
Old 04 Aug 2016, 12:09
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
4.2.5 Alpha 1

http://www.vbulletin.com/forum/forum...bulletin-4-2-5
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #3  
Old 04 Aug 2016, 21:20
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
 
Join Date: Sep 2008
Real name: Michael Miller Jr
+1 thanks Paul! (couldn't like so saying thanks!)
__________________
Daddy Does Dios and Figs!
*I no longer provide vBulletin Services (No PM's, please).

Search - Use the search feature to find similar issues/answers.
Information - Include screenshots, copy/pasted error codes, url etc.
Fixed - Please return to your thread/post and let us know how it was fixed!
Thanks - For participating! Click the "Like" on a post if someone helped you!
Reply With Quote
  #4  
Old 05 Aug 2016, 16:18
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Real name: Giovanni Martinez
NICE!
__________________

ModernvB.com - vBulletin Mods & Services - ModernvB.com vBulletin 3 Mods - ModernvB.com vBulletin 4 Mods - Hire ModernvB
Full-Time vB Development - If you can think it, we can build it.
Reply With Quote
  #5  
Old 05 Aug 2016, 18:12
final kaoss final kaoss is offline
 
Join Date: Apr 2006
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).
Reply With Quote
  #6  
Old 05 Aug 2016, 18:34
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
There wont ever be a 4.3.
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #7  
Old 06 Aug 2016, 15:30
webmastersun's Avatar
webmastersun webmastersun is offline
 
Join Date: Oct 2013
Originally Posted by Paul M View Post
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,
__________________
The best webmaster forum & internet marketing forum for webmasters and internet marketers.
Reply With Quote
  #8  
Old 07 Aug 2016, 14:09
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
Well it needs people to actually download and use the Alpha, otherwise any issues are not going to be found.
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #9  
Old 21 Aug 2016, 21:32
Pod Pod is offline
 
Join Date: Jun 2007
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.

Last edited by Pod; 21 Aug 2016 at 21:39.
Reply With Quote
  #10  
Old 22 Aug 2016, 16:45
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
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.
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #11  
Old 22 Aug 2016, 19:50
Pod Pod is offline
 
Join Date: Jun 2007
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.
Reply With Quote
  #12  
Old 01 Sep 2016, 02:44
webmastersun's Avatar
webmastersun webmastersun is offline
 
Join Date: Oct 2013
Really like this topic/update and thanks Paul for making vB4 a new level

Originally Posted by Paul M View Post
Well it needs people to actually download and use the Alpha, otherwise any issues are not going to be found.
Of course I am waiting for a new server to test vB4 with PHP 7
I could not test it on my running forum, it can appear errors to visitors which i don't want if that happens.

Originally Posted by Paul M View Post
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.
Just want to know about memcached (datastore that vB4 is using), it (memcached) can run with php7? if no, what conditions to run vB4 with memcached on php7?

or do I need to remove datastore memcached when upgraded to php7?
__________________
The best webmaster forum & internet marketing forum for webmasters and internet marketers.
Reply With Quote
  #13  
Old 01 Sep 2016, 11:06
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
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.
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #14  
Old 27 Nov 2016, 00:36
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
4.2.5 Beta 1 has been released today.
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #15  
Old 20 Dec 2016, 22:11
Dave Dave is offline
 
Join Date: Jun 2010
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.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 19:43.

Layout Options | Width: Wide Color: