Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #16  
Old 08 Dec 2015, 21:41
Max Taxable's Avatar
Max Taxable Max Taxable is offline
 
Join Date: Feb 2011
Originally Posted by Dave View Post
It does help page response time significantly, if you refuse to believe that then there's nothing much I have to say. Also a handful of my users reported to me that they noticed a big difference.

I guess you'll see more posts of users regarding the speed difference in the future when they start to migrate to PHP 7.
Right. Milliseconds noticeable by the everyday user who wasn't told to look for drastic improvement. Prompted beforehand or not, that's all subjective, and there is no way milliseconds can be drastic or a big difference. That's why they are milliseconds.

I'm just skeptical, I hope that is okay with you just like your belief is okay with me. The test I ran and posted though, you had a pretty poor FBT on that one.

Last edited by Max Taxable; 08 Dec 2015 at 21:55.
Reply With Quote
  #17  
Old 09 Dec 2015, 10:23
Dave Dave is offline
 
Join Date: Jun 2010
Real name: Dave
You will indeed not notice a difference if we're talking about a few milliseconds, however a few hundred milliseconds is definitely noticeable. In my case, the server is twice as fast to process the PHP request and return a response ever since I upgraded.
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.

Last edited by Dave; 09 Dec 2015 at 11:44.
Reply With Quote
  #18  
Old 09 Dec 2015, 14:15
final kaoss final kaoss is offline
 
Join Date: Apr 2006
Anyways, aside from Max trying to derail the topic... I'm not to familiar on updating php, I'm using centos & want to update it to php 7. Can you write or send me to an article about that?

Oh and max, here you go, page loads in the milliseconds (under a second).
https://gtmetrix.com/reports/www.ody...e.com/EvicPyGk
And note, I'm not trying to make this a discussion about that report. Just responding to a post of yours on page 1.

Last edited by final kaoss; 09 Dec 2015 at 15:25.
Reply With Quote
  #19  
Old 09 Dec 2015, 16:50
Dave Dave is offline
 
Join Date: Jun 2010
Real name: Dave
Have you looked at my article at https://blog.technidev.com/vbulletin...aking-it-work/ ?
It includes a URL on how to upgrade to PHP 7 and how to fix the errors in order to make it work.
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.

Last edited by Dave; 09 Dec 2015 at 17:02.
Reply With Quote
  #20  
Old 10 Dec 2015, 07:49
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Excellent thread, I just wanted to ask if someone already has some experience with PHP7, as I read about it being out: http://php.net/archive/2015.php#id2015-12-03-1

On those who have Plesk servers (servers that use Plesk CP v12.5), it is supported with microupdate 14: http://docs.plesk.com/release-notes/...og/#12530-mu14 On this last news, it appears that there's a bug in Plesk that linux versions still don't have PHP7, but it soon will be there.

From my experience, changing PHP version in Plesk, if you use Plesk's own system for multiple PHP versions is extremely easy. Just go to website settings and there you choose which PHP version you want for that website. It works excellent.

On the other hand, as @Paul M mentioned, vB4.2.4 still doesn't have PHP7 support, but it would be great if we ask for it, as it is still possible. And, vB4.2.4 will be out in foreseeable future.

Here is Jira about that issue: http://tracker.vbulletin.com/browse/VBIV-16127

Please help having official support for PHP7 in vB4.2.4

And @Dave, for some reason I can't open your site and blog with your experience and instruction for PHP7 and vB4. Is it only temporary?
Reply With Quote
  #21  
Old 10 Dec 2015, 10:56
Dave Dave is offline
 
Join Date: Jun 2010
Real name: Dave
@Alan_SP
My blog works fine from here, weird.
Here's the post with the upgrade instructions: http://pastie.org/pastes/10622659/te...xtqlc7ktv3mwxg
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
  #22  
Old 10 Dec 2015, 14:08
Alan_SP's Avatar
Alan_SP Alan_SP is offline
 
Join Date: Nov 2009
Thanks for the info, I just tested it with FireFox, it seems you're blocking my browser (Opera). Probably same as was with Ozzmodz.
Reply With Quote
  #23  
Old 20 Jul 2016, 22:16
HolyKiller HolyKiller is offline
 
Join Date: Dec 2006
Hello all,

first of all thank you for the blog post. We're about to migrate our web services to PHP 7 as well and vB forum is one of them. I've done the modification as mentioned unfortunately i am facing an issue when posting a new thread/post. It will end up in blank post.

New thread with some text


This is how it looks like after submit


Firebug confirms that no text at all in the body


I've tested it with all plugins disabled via "define('DISABLE_HOOKS', true);" and with the default template as well. Still facing the issue.

We're running following setup in our test environment:
vBulletin 4.2.2 Patch Level 5
PHP Version 7.0.8
Web server: fpm-fcgi

I've also found following warnings in error.log ... not sure if related or just another things to be fixed.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Thanks in advance for any advice.

Alex
Reply With Quote
  #24  
Old 20 Jul 2016, 23:31
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
See this : http://www.vbulletin.org/forum/showthread.php?t=322892

(Btw, two of the fixes in that blog are not actually correct).
__________________
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
  #25  
Old 21 Jul 2016, 16:24
webmastersun's Avatar
webmastersun webmastersun is offline
 
Join Date: Oct 2013
Originally Posted by Dave View Post
On top of my head, I had to make changes to the following files:
  • includes/class_core.php (to fix constructor error)
  • includes/class_datastore.php (to fix constructor error)
  • includes/class_bbcode.php (to fix function name must be a string error)
  • includes/class_hook.php (to fix constructor error)
  • vb/exception/parser.php (to fix redefinition of argument error)
Also I had to change the datastore class in config.php back to vB_Datastore_Filecache since there's no PHP 7 version for APC/XCache or Memcached. You don't need it anymore anyway since OPCache has been introduced and it's extremely fast.

Another thing to keep in mind is that PHP 7 deprecates the mysql_* functions. In case you have any plugins or custom scripts installed which makes use of that then it will not work.
You should send these to vB team so we can use PHP7 on forums earilier

I want to upgrade to PHP7 for my hosting but I could not because my vB forum is not compatible with PHP7 so I have to leave it.
__________________
The best webmaster forum & internet marketing forum for webmasters and internet marketers.
Reply With Quote
  #26  
Old 21 Jul 2016, 16:28
Dave Dave is offline
 
Join Date: Jun 2010
Real name: Dave
Originally Posted by Paul M View Post
See this : http://www.vbulletin.org/forum/showthread.php?t=322892

(Btw, two of the fixes in that blog are not actually correct).
I'll probably write a follow up blog for more changes/fixes for PHP 7.
Although you state that some of the fixes are not "correct", my forum has been running just fine for about 8 months now on PHP 7.
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
  #27  
Old 21 Jul 2016, 20:51
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
Originally Posted by webmastersun View Post
You should send these to vB team so we can use PHP7 on forums earilier

I want to upgrade to PHP7 for my hosting but I could not because my vB forum is not compatible with PHP7 so I have to leave it.
Did you even bother to read the link I posted ?

Originally Posted by Dave View Post
I'll probably write a follow up blog for more changes/fixes for PHP 7.
Although you state that some of the fixes are not "correct", my forum has been running just fine for about 8 months now on PHP 7.
Actually, I said two, not some

One you would never notice unless you somehow triggered exceptions, even then it would probably just display wrong information.
The other would, I think, break something (custom tags ?) I'm not actually anywhere I can look at code atm.

If they were the only changes you made, you are hiding a ton load of warnings.

The PHP 7 test version has been available for anyone who requests it for almost two months now, posted here, vb.com, and even TAZ - only three people have shown any interest. The Alpha's next month will basically be that code.
__________________
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
  #28  
Old 04 Jan 2017, 15:47
Domenico Domenico is offline
 
Join Date: Oct 2001
I love vB 4.2.5 Beta 1 and together with PHP7 it runs perfectly.
__________________

█ The biggest and best hosting forum in Europe!
Reply With Quote
  #29  
Old 04 Jan 2017, 16:01
Dave Dave is offline
 
Join Date: Jun 2010
Real name: Dave
Originally Posted by Domenico View Post
I love vB 4.2.5 Beta 1 and together with PHP7 it runs perfectly.
Are you running it with PHP7.1 or PHP 7.0.*?
PHP 7.1 should speed it up by a tiny bit more.
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
  #30  
Old 04 Jan 2017, 16:07
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Real name: Richie
I have the beta as well and would love to upgrade but I think I would have to go through older plug ins and I know my Photopost gallery would have issues as well.

I may do it though at some point.
__________________

Let us take care of your forum, seo, seo reports, maintenance, what ever you need.

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:29.

Layout Options | Width: Wide Color: