Add php-mongodb and php-mongo plugins support

This commit is contained in:
Alexey Genus 2016-12-08 00:10:19 +03:00
parent aed39883af
commit cb4515b467
4 changed files with 16 additions and 0 deletions

View File

@ -372,6 +372,16 @@ Disabled on opensuse need server:php:extensions repo
Installs the php-memcached package.
Disabled on opensuse need server:php:extensions repo
``php.ng.mongo``
--------------------
Installs the php-mongo package.
``php.ng.mongodb``
--------------------
Installs the php-mongodb package.
``php.ng.mysql``
----------------

View File

@ -17,6 +17,7 @@
'intl': 'php7.0-intl',
'mbstring': 'php7.0-mbstring',
'mcrypt': 'php7.0-mcrypt',
'mongodb': 'php7.0-mongodb',
'mysql': 'php7.0-mysql',
'pspell': 'php7.0-pspell',
'redis': 'php7.0-redis',
@ -1045,6 +1046,7 @@
'mcrypt': 'php5-mcrypt',
'memcache': 'php5-memcache',
'memcached': 'php5-memcached',
'mongo': 'php5-mongo',
'mysql': 'php5-mysql',
'mysqlnd': 'php5-mysqlnd',
'mdb2': 'php-mdb2',

2
php/ng/mongo.sls Normal file
View File

@ -0,0 +1,2 @@
{% set state = 'mongo' %}
{% include "php/ng/installed.jinja" %}

2
php/ng/mongodb.sls Normal file
View File

@ -0,0 +1,2 @@
{% set state = 'mongodb' %}
{% include "php/ng/installed.jinja" %}