Jump to content
  • Hello visitors, welcome to the Hacker World Forum!

    Red Team 1949  (formerly CHT Attack and Defense Team) In this rapidly changing Internet era, we maintain our original intention and create the best community to jointly exchange network technologies. You can obtain hacker attack and defense skills and knowledge in the forum, or you can join our Telegram communication group to discuss and communicate in real time. All kinds of advertisements are prohibited in the forum. Please register as a registered user to check our usage and privacy policy. Thank you for your cooperation.

    TheHackerWorld Official

Recommended Posts

PHP74 Remi软件源安装向导

  • Remi's RPM repository 官网
    • http://rpms.remirepo.net/
  • 国内清华镜像
    • https://mirrors.tuna.tsinghua.edu.cn/remi/


  • https://rpms.remirepo.net/wizard/
  • 向导系统设置



  • RHEL 7 provides PHP version 5.4 in its official repository

  • Command to install the EPEL repository configuration package:

    • yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
  • Command to install the Remi repository configuration package:

    • yum install https://rpms.remirepo.net/enterprise/remi-release-7.rpm
  • Command to install the yum-utils package (for the yum-config-manager command):

    • yum install yum-utils
  • On RHEL you (probably) need to enable the optional channel for some dependencies.

  • Command to enable:

    • subscription-manager repos --enable=rhel-7-server-optional-rpms
  • You want a single version which means replacing base packages from the distribution

  • Packages have the same name than the base repository, ie php-*

  • Some common dependencies are available in remi-safe repository, which is enabled by default

  • PHP version 7.4 packages are available for RHEL 7 in remi-php74 repository

  • Command to enable the repository

    yum-config-manager --disable 'remi-php*'
    yum-config-manager --enable   remi-php74
  • You can check the list of the enabled repositories:

    • yum repolist
  • If the priorities plugin is enabled, ensure remi-php74 have higher priority (a lower value) than base and updates

  • Command to upgrade (the repository only provides PHP):

    • yum update
  • Command to install additional packages:

    • yum install php-xxx
  • Command to install testing packages:

    • yum --enablerepo=remi-php74-test install php-xxx
  • Command to check the installed version and available extensions:

    php --version
    php --modules
Link to post
Link to comment
Share on other sites


discussion group

discussion group

    You don't have permission to chat.
    • Recently Browsing   0 members

      • No registered users viewing this page.
    • Create New...