Browse Source

Merge pull request #10 from giannello/master

Add MySQL native driver extension
tags/v0.34.0
Seth House 10 years ago
parent
commit
05f81e7248
4 changed files with 26 additions and 0 deletions
  1. +10
    -0
      README.rst
  2. +6
    -0
      php/cli.sls
  3. +4
    -0
      php/map.jinja
  4. +6
    -0
      php/mysqlnd.sls

+ 10
- 0
README.rst View File



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


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

Installs the php-cli package.

``php.curl`` ``php.curl``
------------ ------------




Installs the php-mysql package. Installs the php-mysql package.


``php.mysqlnd``
------------

Installs the php-mysqlnd package.

``php.pear`` ``php.pear``
------------ ------------



+ 6
- 0
php/cli.sls View File

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

php-cli:
pkg:
- installed
- name: {{ php.cli_pkg }}

+ 4
- 0
php/map.jinja View File

'Debian': { 'Debian': {
'php_pkg': 'php5', 'php_pkg': 'php5',
'apc_pkg': 'php-apc', 'apc_pkg': 'php-apc',
'cli_pkg': 'php5-cli',
'curl_pkg': 'php5-curl', 'curl_pkg': 'php5-curl',
'fpm_pkg': 'php5-fpm', 'fpm_pkg': 'php5-fpm',
'gd_pkg': 'php5-gd', 'gd_pkg': 'php5-gd',
'memcache_pkg': 'php5-memcache', 'memcache_pkg': 'php5-memcache',
'memcached_pkg': 'php5-memcached', 'memcached_pkg': 'php5-memcached',
'mysql_pkg': 'php5-mysql', 'mysql_pkg': 'php5-mysql',
'mysqlnd_pkg': 'php5-mysqlnd',
'pear_pkg': ' php-pear', 'pear_pkg': ' php-pear',
'soap_pkg': ' php-soap', 'soap_pkg': ' php-soap',
'fpm_service': 'php5-fpm', 'fpm_service': 'php5-fpm',
'RedHat': { 'RedHat': {
'php_pkg': 'php', 'php_pkg': 'php',
'apc_pkg': 'php-pecl-apc', 'apc_pkg': 'php-pecl-apc',
'cli_pkg': 'php-cli',
'curl_pkg': 'curl', 'curl_pkg': 'curl',
'fpm_pkg': 'php-fpm', 'fpm_pkg': 'php-fpm',
'gd_pkg': 'php-gd', 'gd_pkg': 'php-gd',
'memcache_pkg': 'php-pecl-memcache', 'memcache_pkg': 'php-pecl-memcache',
'memcached_pkg': 'php-pecl-memcached', 'memcached_pkg': 'php-pecl-memcached',
'mysql_pkg': 'php-mysql', 'mysql_pkg': 'php-mysql',
'mysqlnd_pkg': 'php-mysqlnd',
'pear_pkg': ' php-pear', 'pear_pkg': ' php-pear',
'soap_pkg': ' php-soap', 'soap_pkg': ' php-soap',
'fpm_service': 'php-fpm', 'fpm_service': 'php-fpm',

+ 6
- 0
php/mysqlnd.sls View File

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

php-mysqlnd:
pkg:
- installed
- name: {{ php.mysqlnd_pkg }}

Loading…
Cancel
Save