Guide for adding php 7.x to a centos 7 ispconfig deployment

Discussion in 'Installation/Configuration' started by RobPatton, Oct 6, 2020.

  1. RobPatton

    RobPatton Member

    Just reached the point where new versions of things dont work with php 5.6.40

    1. Will ipscofig now work with php 7.x?
    2. Is there a guide to walk through JUST adding php 7.x to an existing "perfect server on centos 7"?
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

  3. RobPatton

    RobPatton Member

    Well, in a perfect world, ispconfig would just work with modern versions of php, and I'd just run 7.x and upgrade as needed.

    BUT, if thats not going to happen, I guess I need ispconfig to run on the EOL ver of php, and everything else to run on current versions. I had upgraded to 7.x in the past, and the websites worked, but ispconfig died.
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    ISPConfig works with the PHP version that is default on the OS it is running on.
    Upgrade to a newer version of CentOS, that gives a newer PHP version.
    Or let ISPConfig and the OS use the default PHP, and websites use additional PHP versions you install. There are instructions for this in this Forum, but I have used only the Debian and Ubuntu tutorials, CentOS ones do exist and should be findable by searching.
  5. RobPatton

    RobPatton Member

    I was once told that a guide for Centos 7 would be written, but I can't prove it was. I have searched, I have not found a guide. I come and ask this question once every 6 months or so to see if there is an update.

    Also, I've read in the past that i was told the ispconfig does NOT work with 7.x because some of the php5 commands no long exist in 7. I think this disproves the comment about ispconfig working with the default php for the os, since centos 8 (and most others) defaults to 7.x

    I'm not an expert on linux, and so I'm concerned that I can easily make a giant mess of the server, this is why I've waited this long. But now a few apps that I run no longer allow me to upgrade.
  6. RobPatton

    RobPatton Member

    That script had a LOT of errors during its 20 mins install, and it installed a TON of things I didnt already have. There werent enuf docs for me to understand what to do once it was done, and things started acting odd and a few pages stopped working, so I reverted to a snapshot. Looked interesting though
  7. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Definitely not true. I have ISPConfig running on PHP 7.3 when installed on Debian 10, and PHP 7.0 when installed on Debian 9. Consulting shows in chapter 6 Install Apache, PHP, MySQL and phpMyAdmin that PHP 7 works with ISPConfig on CentOS 7.6.
    Guide for what? You may be right there is no CentOS equivalent to but similar method should work. There is which as far as I undersand offers rpm packages of PHP versions for CentOS.
    ISPConfig does work on CentOS 8, to prove:
    If you do not want to do CentOS upgrade yourself, there is business support available which for a fee can do the upgrade for you.
    If the CentOS you have is so old it has PHP 5.6, it would seem it is a good time to upgrade to a later CentOS 7.x or to CentOS 8.
    If upgrading the system you have is out of the question. another way is to use ISPConfig Migration Toolkit. Then you can install a new system with the CentOS version you want, or Ubuntu or Debian, and migrate your current setup to that new setup.

Share This Page