Announcement

Collapse
No announcement yet.

vb4 and PhP 7.2

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

  • [Forum] vb4 and PhP 7.2

    Can vb4 handle PhP 7.2, when the GA (not RC) version comes out I mean?

  • #2
    No, 7.1 is the highest you can use.
    MARK.B | vBULLETIN SUPPORT

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

    Comment


    • #3
      I see. I wonder if there is a way via .htaccess then to force one directory on the same server to stay at PhP 7.1

      I used to have to force the vb4 directory to stay at PhP 5, while allowing the vb5 forum's directory to go to PhP 7, but wondering if there is code that could allow no higher than PhP 7.1 in one directory, and no limit PhP on the other.

      This was the code I used to put into the directory where I wanted it to stay at PhP 5 (now commented # out):

      # Use PHP56 as default
      #AddHandler application/x-httpd-php56 .php

      and in the vb5 I used to have this:
      # Use PHP7 as default
      # AddHandler application/x-httpd-php70 .php
      (or just nothing, if the default was already php7 anyway).

      ---

      Update, I just thought of a way...via WHM / MultiPHP Manager.
      Last edited by MDawg; Fri 17th Nov '17, 11:47am.

      Comment


      • #4
        Originally posted by MDawg View Post
        I see. I wonder if there is a way via .htaccess then to force one directory on the same server to stay at PhP 7.1

        I used to have to force the vb4 directory to stay at PhP 5, while allowing the vb5 forum's directory to go to PhP 7, but wondering if there is code that could allow no higher than PhP 7.1 in one directory, and no limit PhP on the other.

        This was the code I used to put into the directory where I wanted it to stay at PhP 5 (now commented # out):

        # Use PHP56 as default
        #AddHandler application/x-httpd-php56 .php

        and in the vb5 I used to have this:
        # Use PHP7 as default
        # AddHandler application/x-httpd-php70 .php
        (or just nothing, if the default was already php7 anyway).
        It's certainly possible, but not something that's controlled by vBulletin - best people to ask on this would be your hosts.

        MARK.B | vBULLETIN SUPPORT

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

        Comment


        • #5
          You would have to use something similar to the two example handlers that you have posted. You would just point to the 7.1 installation. As Mark said, your hosting provider can help with the details.
          Translations provided by Google.

          Wayne Luke
          The Rabid Badger - a vBulletin Cloud customization and demonstration site.
          vBulletin 5 Documentation - Updated every Friday. Report issues here.
          vBulletin 5 API - Full / Mobile
          I am not currently available for vB Messenger Chats.

          Comment


          • #6
            I am hoping that the WHM / MultiPHP Manager will allow me to do it without the .htaccess handler codes. Will let you all know when the time comes.

            Comment


            • #7
              I configured via WHM / MultiPHP Manager, for 7.2 for my vb5 sites, and 7.1.12 for my vb4 site.

              Comment

              Working...
              X