vb4 and PhP 7.2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Maltair
    Senior Member
    • Feb 2009
    • 575
    • 5.7.5

    [Forum] vb4 and PhP 7.2

    Can vb4 handle PhP 7.2, when the GA (not RC) version comes out I mean?
  • Mark.B
    vBulletin Support
    • Feb 2004
    • 24286
    • 6.0.X

    #2
    No, 7.1 is the highest you can use.
    MARK.B
    vBulletin Support
    ------------
    My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
    My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

    Comment

    • Maltair
      Senior Member
      • Feb 2009
      • 575
      • 5.7.5

      #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 Maltair; Fri 17 Nov '17, 11:47am.

      Comment

      • Mark.B
        vBulletin Support
        • Feb 2004
        • 24286
        • 6.0.X

        #4
        Originally posted by MDawg
        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
        ------------
        My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
        My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

        Comment

        • Wayne Luke
          vBulletin Technical Support Lead
          • Aug 2000
          • 73981

          #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 demonstration site.
          vBulletin 5 API

          Comment

          • Maltair
            Senior Member
            • Feb 2009
            • 575
            • 5.7.5

            #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

            • Maltair
              Senior Member
              • Feb 2009
              • 575
              • 5.7.5

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

              Comment

              Related Topics

              Collapse

              Working...