瀏覽代碼

Handle different scl/legacy php naming for opcache.

When running on CentOS or RHEL the opcache package under php 5.4
us named php-pecl-zendopcache.
When using a newer PHP version like 5.6, 7.0 or 7.1 the package
is named slightly different though: php-opcache.

Take this into account.
tags/v0.34.0
Andreas Thienemann 6 年之前
父節點
當前提交
6405214d11
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      php/ng/map.jinja

+ 1
- 1
php/ng/map.jinja 查看文件

@@ -2738,7 +2738,7 @@
'net-smtp': 'php-pear-Net-SMTP',
'net4': 'php-pear-Net-IPv4',
'oauth': 'php-pecl-oauth',
'opcache': 'php-pecl-zendopcache',
'opcache': rh_prefix + 'php-opcache' if salt['pillar.get']('php:use_scl_repo', False) else 'php-pecl-zendopcache',
'pear': rh_prefix + 'php-pear',
'pgsql': rh_prefix + 'php-pgsql',
'php': rh_prefix + 'php',

Loading…
取消
儲存