update php to 5.6 or higher

Discussion in 'Installation/Configuration' started by florix.net, Mar 25, 2019.

  1. florix.net

    florix.net Member

    My system is having centos 7, with ispconfig 3.

    [root@test ~]# uname -a
    Linux test.florix.net 4.15.13-x86_64-linode106 #1 SMP Tue Mar 27 14:42:14 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

    [root@test ~]# php -v
    PHP 5.4.16 (cli) (built: Nov 6 2016 00:29:02)
    Copyright (c) 1997-2013 The PHP Group
    Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies

    What is the correct way to upgrade php without disturbing any functionality of ISPconfig?
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    ISPConfig works only with the PHP version that comes with the operating system, so removing that PHP and replacing with some other version breaks ISPConfig.
    It is possible to install additional PHP versions and set websites to use them. I know how to do this on Debian GNU/Linux. For CentOS, this search using Internet Search Engines seems to find promising articles:
    site:howtoforge.com centos additional PHP versions
    On the other hand, if CentOS 7 comes with PHP 5.4, maybe it is quite old version and it would make sense to upgrade to a later CentOS. Or even Debian or Ubuntu.

Share This Page