Learn about Centmin Mod LEMP Stack today
Register Now

PHP-FPM Need to support older php versions - at least for now

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Jester, Sep 10, 2023.

  1. Jester

    Jester New Member

    9
    0
    1
    Jun 8, 2023
    Ratings:
    +2
    Local Time:
    5:40 AM
    8.0.28 (fpm-fcgi)
    10.3.39-MariaDB
    Please fill in any relevant information that applies to you:
    • CentOS Version: "Fresh" Centos7. Fresh Centminmod install install as of yesterday
    I have a legacy site that I absolutely need to move to a new host. Is it possible to make vb 4.2 run on php 7-something?? I would like to move the site to a fresh server before I lose my current hosting. Then I can work on updating the applications I am running. vb ---> Xen

    Option #5 does not allow me to drop back to old php
    gzip: stdin: not in gzip format
    tar: Child returned status 1
    tar: Error is not recoverable: exiting now
    Error: php-5.4.10.tar.gz extraction failed.

    I think it's because the version is way beyond EOL - however I do NEED it.

    How can I make this happen? Would it involve an old Centminmod version? Where can I find it because centmin-v1.2.2-eva2000.20 is what I believe was used. The current server Centminmod was installed/tweaked by Eva2000 many many moons ago.


    Thank you!!
     
  2. eva2000

    eva2000 Administrator Staff Member

    50,479
    11,664
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,089
    Local Time:
    7:40 PM
    Nginx 1.25.x
    MariaDB 10.x
    Been a while since I touched vBulletin 4. I think with vBulletin 4.2.5, you can use PHP 5.6.40 or PHP 7.1.33 temporarily until you switch to newer forum software. Centmin Mod 124.00stable or 130.00beta01 should be able to use centmin.sh menu option 5 to downgrade to those PHP versions
     
  3. Jester

    Jester New Member

    9
    0
    1
    Jun 8, 2023
    Ratings:
    +2
    Local Time:
    5:40 AM
    8.0.28 (fpm-fcgi)
    10.3.39-MariaDB
    Thank you very much for your response! Transferring a copy of the site now then I'll pick through the inevitable errors. Awesome!
     
  4. Jester

    Jester New Member

    9
    0
    1
    Jun 8, 2023
    Ratings:
    +2
    Local Time:
    5:40 AM
    8.0.28 (fpm-fcgi)
    10.3.39-MariaDB
    Well, one of my inevitable errors is I borked php-fpm by removing an old version (php5.4.x) I had on there while trying to get things going at first. yum -y remove php*

    ~]# service php-fpm start
    Redirecting to /bin/systemctl start php-fpm.service
    Failed to start php-fpm.service: Unit not found.

    I've done an nginx upgrade to the same version and a php upgrade hoping to "redo" the centminmod setup. Didn't work sadly.
     
  5. Jester

    Jester New Member

    9
    0
    1
    Jun 8, 2023
    Ratings:
    +2
    Local Time:
    5:40 AM
    8.0.28 (fpm-fcgi)
    10.3.39-MariaDB
    Should I just have the box reloaded and start over?
     
  6. eva2000

    eva2000 Administrator Staff Member

    50,479
    11,664
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,089
    Local Time:
    7:40 PM
    Nginx 1.25.x
    MariaDB 10.x
    Definitely easier to ensure you're working with a 100% Centmin Mod install
     
  7. Jester

    Jester New Member

    9
    0
    1
    Jun 8, 2023
    Ratings:
    +2
    Local Time:
    5:40 AM
    8.0.28 (fpm-fcgi)
    10.3.39-MariaDB
    Yep, redid it and am running with vhosts firing on all cylinders. Thanks