Announcement

Collapse
No announcement yet.

4.21 to 4.25 but need a PHP upgrade first?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 4.21 to 4.25 but need a PHP upgrade first?

    I currently have 4.2.1 and wish to upgrade to 4.2.5

    My PHP version is 5.4.45 and I am using Plesk.

    If I switch over to PHP 5.5.x or 5.6.x (all that's available) the current 4.2.1 forum won't connect to the database.


    So, what's the best way of upgrading considering the above?

    Thank you
    Last edited by moonclamp; Wed 1st Nov '17, 3:52pm.

  • #2
    What version of plesk are you using also for which os linux or windows
    Cometbar

    DartsLeague

    Comment


    • #3
      Originally posted by bootsie1 View Post
      What version of plesk are you using also for which os linux or windows
      CentOS 6.9

      Plesk Onyx 17.0.17

      Comment


      • #4
        What do you mean by "won't connect to the database"? Changing the php version should not impact the ability to connect to the database.
        What is the exact error received please?
        MARK.B | vBULLETIN SUPPORT

        TalkNewsUK - My vBulletin 5.4.2 Demo - FEATURING "ROUTE BY NODE"!
        AdminAmmo - My Cloud Demo

        Comment


        • #5
          Originally posted by Mark.B View Post
          What do you mean by "won't connect to the database"? Changing the php version should not impact the ability to connect to the database.
          What is the exact error received please?
          I reverted for now so can't pull the exact wording, but it's the standard vbulletin "cannot connect to the database" page.

          The site comes back to life as soon as I revert to the older version of PHP (5.4.45)

          Comment


          • #6
            Make sure your config file is set to use mysqli, and not mysql. This is in the "database type" line near the top.
            MARK.B | vBULLETIN SUPPORT

            TalkNewsUK - My vBulletin 5.4.2 Demo - FEATURING "ROUTE BY NODE"!
            AdminAmmo - My Cloud Demo

            Comment


            • #7
              Originally posted by Mark.B View Post
              Make sure your config file is set to use mysqli, and not mysql. This is in the "database type" line near the top.
              Changed it and unfortunately I still have the same problem.

              Comment


              • #8
                Originally posted by moonclamp View Post

                Changed it and unfortunately I still have the same problem.
                We would need to know the full database error then. Otherwise, we are just guessing at possible causes.
                MARK.B | vBULLETIN SUPPORT

                TalkNewsUK - My vBulletin 5.4.2 Demo - FEATURING "ROUTE BY NODE"!
                AdminAmmo - My Cloud Demo

                Comment


                • #9
                  I seem to have fixed it!

                  I went to change debug information to $config['Misc']['debug'] = 'true';and noticed that$config['Misc']['debug'] = false; didn't have any quotes around it.

                  Adding the quotes made it work - although I have no idea why it wasn't that fussy in the older flavour of PHP

                  Thanks for the help



                  EDIT: Adding quotes around 'false' kept the debug information visible so I just commented out the whole section.
                  Last edited by moonclamp; Thu 2nd Nov '17, 9:26am.

                  Comment

                  Working...
                  X