PHP7 Compatability

Discussion in 'vBulletin' started by Paul M, Jun 18, 2016.

Tags:
  1. RoboCop

    RoboCop Neophyte

    4
    6
    +0
    So are you still able to offer a service for my vB 4.2.5? I don't want to leave this to the last minute in case it is too late for me and prepare for using PHP 7.2 in the future. I can still access my vB members area for vB4 zips. As for the bugs and other stuff you maybe able to fix, I'd be very grateful...But I may need to be alerted on certain key AdminCP adjustments to minimise any security flaws, Paul.
     
  2. Banxix

    Banxix Enthusiast

    138
    83
    +55
    Please read my post in previous page. vB 4.2.5 runs fine enough with PHP 7.2 (you can ignore constant warnings), but your plugins may not.
     
  3. RoboCop

    RoboCop Neophyte

    4
    6
    +0
    Well thats the thing...the plugins don't work by the looks of it...well some of them as far I can tell.
     
    Last edited: Jun 29, 2018
  4. Paul M

    Paul M Limeade Addict

    3,800
    1,627
    +2,219
    Yes, I was looking at the php site other day and noticed they had started on the release schedule for 7.3

    Atm, I have not looked at whats changed, or obtained a copy to see what happens.

    They deprecated a whole bunch of stuff in 7.2, if thats removed in 7.3 then 4.2.5/3.8.12 will not run on it.
    (even with errors reporting suppressed, as all those warnings will become fatal errors).
     
    • Informative! Informative! x 1
    • List
  5. Paul M

    Paul M Limeade Addict

    3,800
    1,627
    +2,219
    A quick look over the documentation does not seem to suggest any of the previously deprecated stuff has been removed.

    Also, I didnt see any changes that would have any adverse effect on vB.
    From what I read, I think 4.2.5/3.8.12 would continue to run on PHP 7.3, as long as you had all error reporting disabled.

    I have not physically tested it, but I dont see any obvious (new) issues.
     
    • Like Like x 1
    • Informative! Informative! x 1
    • List
  6. djbaxter

    djbaxter Tazmanian Veteran

    10,485
    917
    +463
    The problem will still be plugins. I didn't take it very far but I tried going to PHP7.2 for one 4.2.5 forum and it broke the forum. I didn't explore why - I just reverted to PHP 7.1 - but if I recall correctly it was giving me a blank page.
     
  7. Paul M

    Paul M Limeade Addict

    3,800
    1,627
    +2,219
    Yes, plugins may well fail, but thats a whole different issue. :)
     
  8. djbaxter

    djbaxter Tazmanian Veteran

    10,485
    917
    +463
    Yes. Just reminding people that even if you upgrade vBulletin we'll still have to go through the fun process of figuring out which plugins have broken and why. :eek:
     
  9. Banxix

    Banxix Enthusiast

    138
    83
    +55
    The safest way is to make a copy of your forum in your localhost, it will give you free time to explore the cause.
     
  10. Paul M

    Paul M Limeade Addict

    3,800
    1,627
    +2,219
    Just an update on this, as another four months have passed.

    In short, I'm not going ahead with any vB3/vB4 upgrade service.

    1. I dont have the time.
    2. I simply dont have the interest or desire anymore.
    3. I dont use vB4 at all, and were I ever to update, I would then no longer be using vB3 !
    4. The fact is that it works fine on php 7.1 - and with error reporting turned off, will limp along well enough on php 7.2
    5. PHP just keep updating, I could not keep up - people are already asking about php 7.3, and I havent even finished working on php 7.2

    Basically, 4.2.5 & 3.8.11 are good for another 1.5 years on supported php 7.1 versions.
    After that you can continue on PHP 7.1 of course, it will just be unsupported by PHP themselves.
    Equally, you could likely limp along on 7.2 (maybe even 7.3) with error reporting turned off for another 2+ years.

    If any of these options is an issue for you then you should consider a move to something else by then, if not before.
     
    • Informative! Informative! x 2
    • Agree Agree x 1
    • Appreciation Appreciation x 1
    • List
  11. Pete

    Pete Flavours of Forums Forever

    1,658
    227
    +603
    WTH... it's not even out yet.
     
  12. eva2000

    eva2000 Habitué

    1,718
    857
    +790
    Looking good so far on Centmin Mod LEMP stack :)

    Code:
    php -v
    PHP 7.3.0beta1 (cli) (built: Aug  3 2018 04:35:10) ( NTS )
    Copyright (c) 1997-2018 The PHP Group
    Zend Engine v3.3.0-dev, Copyright (c) 1998-2018 Zend Technologies
        with Zend OPcache v7.3.0beta1, Copyright (c) 1999-2018, by Zend Technologies
    Code:
    php --ri sodium
    
    sodium
    
    sodium support => enabled
    libsodium headers version => 1.0.16
    libsodium library version => 1.0.16
    Code:
    php -r 'print_r(get_defined_constants());' | grep -i argon
        [PASSWORD_ARGON2I] => 2
        [PASSWORD_ARGON2ID] => 3
        [PASSWORD_ARGON2_DEFAULT_MEMORY_COST] => 1024
        [PASSWORD_ARGON2_DEFAULT_TIME_COST] => 2
        [PASSWORD_ARGON2_DEFAULT_THREADS] => 2
        [SODIUM_CRYPTO_PWHASH_ALG_ARGON2I13] => 1
        [SODIUM_CRYPTO_PWHASH_ALG_ARGON2ID13] => 2
        [SODIUM_CRYPTO_PWHASH_STRPREFIX] => $argon2id$
    Paul M appreciate all you have done, otherwise vB3/4 would of died alot sooner without PHP updated support !
     
  13. steris56

    steris56 Neophyte

    4
    1
    +0
    i put in 4.2.5 suite but for some reason i get a blank page for forum only my server folks upped me to 7.1php
     
  14. Paul M

    Paul M Limeade Addict

    3,800
    1,627
    +2,219
    Probably an incompatible plugin.
     
  15. CyberJoe

    CyberJoe Participant

    90
    63
    +32
    I am still stuck on running VB4.2.5. I have already bought the Invision licenses, but the sheer amount of time it takes to convert is keeping me from going ahead, it looks like my site will be almost unusable for about a week while the converter is doing its thing.

    So I decided to get VB installed on PHP 7.2 (my host is doing a forced migration in November, either migrate to 7.2 or move, I do not want to move).

    The install worked 100%, the site is running 100% so far.

    My next step will now be to find and install the very few plugins I use one at a time, if we find errors the devs at the office will try and resolve the code changes to facilitate the upgrade to 7.2, so there is light at the end of the tunnel.

    Also I do not use any plugin that I absolutely have to have, so if we cannot fix the plugins I will just remove it.

    Then between I need to get access to a super duper fast server to check the conversion, I might prep a small linode box, then once I have my site running on it bump it up to the fastest server they offer and see how long it will take there.
     
  16. CyberJoe

    CyberJoe Participant

    90
    63
    +32
    I use very few plugins, and just reinstalled them all on my 7.2 installation, and only two are failing so I will get those checked and updated by own our team this week.
     
  17. pierce

    pierce Habitué

    1,149
    262
    +709
    how many posts? (i usually find the posts table was the nightmare)
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.