跳转到帖子
  • 游客您好,欢迎来到黑客世界论坛!您可以在这里进行注册。

    赤队小组-代号1949(原CHT攻防小组)在这个瞬息万变的网络时代,我们保持初心,创造最好的社区来共同交流网络技术。您可以在论坛获取黑客攻防技巧与知识,您也可以加入我们的Telegram交流群 共同实时探讨交流。论坛禁止各种广告,请注册用户查看我们的使用与隐私策略,谢谢您的配合。小组成员可以获取论坛隐藏内容!

    TheHackerWorld官方

PHP74 Remi软件源安装向导


KaiWn

推荐的帖子

PHP74 Remi软件源安装向导

仓库设置和php安装向导

设置方法

  • RHEL 7 provides PHP version 5.4 in its official repository

  • Command to install the EPEL repository configuration package:

  • Command to install the Remi repository configuration package:

  • 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
链接帖子
意见的链接
分享到其他网站

黑客攻防讨论组

黑客攻防讨论组

    You don't have permission to chat.
    • 最近浏览   0位会员

      • 没有会员查看此页面。
    ×
    ×
    • 创建新的...