Add apcu support
This commit is contained in:
parent
3fe85ca0b4
commit
3f1bb7d964
12
README.rst
12
README.rst
@ -26,6 +26,12 @@ Installs the php package.
|
|||||||
Installs the php-apc package.
|
Installs the php-apc package.
|
||||||
Disabled by default on opensuse need server:php repo
|
Disabled by default on opensuse need server:php repo
|
||||||
|
|
||||||
|
``php.apcu``
|
||||||
|
------------
|
||||||
|
|
||||||
|
Installs the php-apcu package.
|
||||||
|
Disabled by default on opensuse need server:php repo
|
||||||
|
|
||||||
``php.adodb``
|
``php.adodb``
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
@ -196,6 +202,12 @@ Installs the php-adodb package.
|
|||||||
Installs the php-apc package.
|
Installs the php-apc package.
|
||||||
Disabled on opensuse need server:php repo
|
Disabled on opensuse need server:php repo
|
||||||
|
|
||||||
|
``php.ng.apcu``
|
||||||
|
---------------
|
||||||
|
|
||||||
|
Installs the php-apcu package.
|
||||||
|
Disabled on opensuse need server:php repo
|
||||||
|
|
||||||
``php.ng.cgi``
|
``php.ng.cgi``
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
|
5
php/apcu.sls
Normal file
5
php/apcu.sls
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{% from "php/map.jinja" import php with context %}
|
||||||
|
|
||||||
|
php-apcu:
|
||||||
|
pkg.installed:
|
||||||
|
- name: {{ php.apcu_pkg }}
|
@ -2,6 +2,7 @@
|
|||||||
'Debian': {
|
'Debian': {
|
||||||
'php_pkg': 'php5',
|
'php_pkg': 'php5',
|
||||||
'apc_pkg': 'php-apc',
|
'apc_pkg': 'php-apc',
|
||||||
|
'apcu_pkg': 'php5-apcu',
|
||||||
'cgi_pkg': 'php5-cgi',
|
'cgi_pkg': 'php5-cgi',
|
||||||
'cli_pkg': 'php5-cli',
|
'cli_pkg': 'php5-cli',
|
||||||
'curl_pkg': 'php5-curl',
|
'curl_pkg': 'php5-curl',
|
||||||
@ -38,6 +39,7 @@
|
|||||||
'RedHat': {
|
'RedHat': {
|
||||||
'php_pkg': 'php',
|
'php_pkg': 'php',
|
||||||
'apc_pkg': 'php-pecl-apc',
|
'apc_pkg': 'php-pecl-apc',
|
||||||
|
'apcu_pkg': 'php-pecl-apcu',
|
||||||
'cgi_pkg': 'php-cgi',
|
'cgi_pkg': 'php-cgi',
|
||||||
'cli_pkg': 'php-cli',
|
'cli_pkg': 'php-cli',
|
||||||
'curl_pkg': 'curl',
|
'curl_pkg': 'curl',
|
||||||
|
2
php/ng/apcu.sls
Normal file
2
php/ng/apcu.sls
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
{% set state = 'apcu' %}
|
||||||
|
{% include "php/ng/installed.jinja" %}
|
@ -4,6 +4,7 @@
|
|||||||
'pkgs': {
|
'pkgs': {
|
||||||
'php': 'php5',
|
'php': 'php5',
|
||||||
'apc': 'php-apc',
|
'apc': 'php-apc',
|
||||||
|
'apcu': 'php5-apcu',
|
||||||
'cgi': 'php5-cgi',
|
'cgi': 'php5-cgi',
|
||||||
'cli': 'php5-cli',
|
'cli': 'php5-cli',
|
||||||
'apache2': 'libapache2-mod-php5',
|
'apache2': 'libapache2-mod-php5',
|
||||||
@ -54,6 +55,7 @@
|
|||||||
'pkgs': {
|
'pkgs': {
|
||||||
'php': 'php',
|
'php': 'php',
|
||||||
'apc': 'php-pecl-apc',
|
'apc': 'php-pecl-apc',
|
||||||
|
'apcu': 'php-pecl-apcu',
|
||||||
'cgi': 'php-cgi',
|
'cgi': 'php-cgi',
|
||||||
'cli': 'php-cli',
|
'cli': 'php-cli',
|
||||||
'curl': ['php-common', 'curl'],
|
'curl': ['php-common', 'curl'],
|
||||||
|
Loading…
Reference in New Issue
Block a user