Browse Source

Fix #9 - Add explicit installation for php-cgi

tags/v0.34.0
Giuseppe Iannello 10 years ago
parent
commit
be040a1229
3 changed files with 13 additions and 0 deletions
  1. +5
    -0
      README.rst
  2. +6
    -0
      php/cgi.sls
  3. +2
    -0
      php/map.jinja

+ 5
- 0
README.rst View File



Installs the php-adodb package. Installs the php-adodb package.


``php.cgi``
------------

Installs the php-cgi package.

``php.cli`` ``php.cli``
------------ ------------



+ 6
- 0
php/cgi.sls View File

{% from "php/map.jinja" import php with context %}

php-cgi:
pkg:
- installed
- name: {{ php.cgi_pkg }}

+ 2
- 0
php/map.jinja View File

'Debian': { 'Debian': {
'php_pkg': 'php5', 'php_pkg': 'php5',
'apc_pkg': 'php-apc', 'apc_pkg': 'php-apc',
'cgi_pkg': 'php5-cgi',
'cli_pkg': 'php5-cli', 'cli_pkg': 'php5-cli',
'curl_pkg': 'php5-curl', 'curl_pkg': 'php5-curl',
'fpm_pkg': 'php5-fpm', 'fpm_pkg': 'php5-fpm',
'RedHat': { 'RedHat': {
'php_pkg': 'php', 'php_pkg': 'php',
'apc_pkg': 'php-pecl-apc', 'apc_pkg': 'php-pecl-apc',
'cgi_pkg': 'php-cgi',
'cli_pkg': 'php-cli', 'cli_pkg': 'php-cli',
'curl_pkg': 'curl', 'curl_pkg': 'curl',
'fpm_pkg': 'php-fpm', 'fpm_pkg': 'php-fpm',

Loading…
Cancel
Save