Ispconfig php 7.4 add php 7.1

Discussion in 'ISPConfig 3 Priority Support' started by jz_, Feb 22, 2022.

Tags:
  1. jz_

    jz_ Member

    Hello, good morning, I have installed ispconfig 3 in Rocky Linux, I have an application that needs PHP 7.1, it is possible to install it, when trying to enable the Remi 7 replace I get error, if someone can orinate me.
    Thank you .
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    On RHEL clones, replacing the main PHP should be possible as all PHP versions use the same path if I remember correctly (unlike Debian and Ubuntu where each PHP version has it's own path), but take care to not upgrade beyond PHP 7.4 at the moment as PHP 8 won't work.

    Which exact error do you get?
     
  3. jz_

    jz_ Member

    OK thank you.
    php -v
    Code:
    PHP 7.4.28 (cli) (built: Feb 15 2022 13:23:10) ( NTS )
    Copyright (c) The PHP Group
    Zend Engine v3.4.0, Copyright (c) Zend Technologies
        with Zend OPcache v7.4.28, Copyright (c), by Zend Technologies
    yum module list php
    Code:
    Last metadata expiration check: 2:29:37 ago on Tue 22 Feb 2022 01:14:26 AM EST.
    Rocky Linux 8 - AppStream
    Name                                 Stream                                       Profiles                                                       Summary
    php                                  7.2 [d]                                      common [d], devel, minimal                                     PHP scripting language
    php                                  7.3                                          common [d], devel, minimal                                     PHP scripting language
    php                                  7.4                                          common [d], devel, minimal                                     PHP scripting language
    
    Remi's Modular repository for Enterprise Linux 8 - x86_64
    Name                                 Stream                                       Profiles                                                       Summary
    php                                  remi-7.2                                     common [d], devel, minimal                                     PHP scripting language
    php                                  remi-7.3                                     common [d], devel, minimal                                     PHP scripting language
    php                                  remi-7.4 [e]                                 common [d] [i], devel, minimal                                 PHP scripting language
    php                                  remi-8.0                                     common [d], devel, minimal                                     PHP scripting language
    php                                  remi-8.1                                     common [d], devel, minimal                                     PHP scripting language
    
    Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled
    yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
    Code:
    yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm
    Last metadata expiration check: 2:31:00 ago on Tue 22 Feb 2022 01:14:26 AM EST.
    remi-release-7.rpm                                                                                                                                                     398 kB/s |  23 kB     00:00
    Error:
     Problem: conflicting requests
      - nothing provides epel-release = 7 needed by remi-release-7.9-3.el7.remi.noarch
    (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
    In the Repo 8 I do not have PHP 7.1, that's why installing 7, but as I already have Remi8 installed, because conflict.
     

Share This Page