## [0.39.1](https://github.com/saltstack-formulas/php-formula/compare/v0.39.0...v0.39.1) (2019-08-12) ### Bug Fixes * **installed.jinja:** remove `include` to prevent conflicting IDs ([cb117847](https://github.com/saltstack-formulas/php-formula/commit/cb11784)), closes [#188](https://github.com/saltstack-formulas/php-formula/issues/188)
php-formula
Formula to set up and configure php
WARNING: BREAKING CHANGES IN UPCOMING v1.0.0
|
|---|
|
This formula currently provides two methods for managing PHP; the old method
under If you are not in a position to migrate, you will need to pin your repo to the final release tag before v1.0.0, which is expected to be v0.39.1. If you are currently using To migrate from the old |
Table of Contents
- General notes
- Contributing to this repo
-
Available states
phpphp.adodbphp.apcphp.apcuphp.bcmathphp.cgiphp.cliphp.composerphp.curlphp.devphp.fileinfophp.fpmphp.gdphp.imagickphp.imapphp.intlphp.jsonphp.ldapphp.mailphp.mbstringphp.mcryptphp.memcachephp.memcachedphp.mongophp.mysqlphp.mysqlndphp.oauthphp.pearphp.pgsqlphp.readlinephp.redisphp.soapphp.sqlitephp.suhosinphp.sybasephp.tokenizerphp.xmlphp.zip
-
Next-generation, alternate approach
php.ngphp.ng.adodbphp.ng.apache2php.ng.apache2.iniphp.ng.apache2.installphp.ng.apcphp.ng.apcuphp.ng.auth-saslphp.ng.bcmathphp.ng.bz2php.ng.cache-litephp.ng.cgiphp.ng.cliphp.ng.cli.iniphp.ng.cli.installphp.ng.composerphp.ng.console-tablephp.ng.ctypephp.ng.curlphp.ng.dbaphp.ng.devphp.ng.filterphp.ng.fpmphp.ng.fpm.configphp.ng.fpm.installphp.ng.fpm.poolsphp.ng.fpm.pools_configphp.ng.fpm.servicephp.ng.gdphp.ng.gearmanphp.ng.geoipphp.ng.geshiphp.ng.gettextphp.ng.gmpphp.ng.hashphp.ng.httpphp.ng.hhvmphp.ng.hhvm.configphp.ng.hhvm.installphp.ng.hhvm.servicephp.ng.igbinaryphp.ng.imagickphp.ng.imapphp.ng.intlphp.ng.jsonphp.ng.ldapphp.ng.mailphp.ng.mbstringphp.ng.mcryptphp.ng.mdb2php.ng.mdb2-driver-mysqlphp.ng.mdb2-driver-pgsqlphp.ng.memcachephp.ng.memcachedphp.ng.modulesphp.ng.mongophp.ng.mongodbphp.ng.msgpackphp.ng.mysqlphp.ng.mysqlndphp.ng.net-smtpphp.ng.net4php.ng.oauthphp.ng.opcachephp.ng.opensslphp.ng.pearphp.ng.pgsqlphp.ng.pharphp.ng.posixphp.ng.pspellphp.ng.readlinephp.ng.redisphp.ng.seclibphp.ng.sessionphp.ng.snmpphp.ng.soapphp.ng.sqlitephp.ng.ssh2php.ng.suhosinphp.ng.svnphp.ng.sybasephp.ng.tcpdfphp.ng.tidyphp.ng.uuidphp.ng.xcachephp.ng.xcache.iniphp.ng.xcache.installphp.ng.xdebugphp.ng.xmlphp.ng.xslphp.ng.zip
- Testing
General notes
See the full SaltStack Formulas installation and usage instructions.
If you are interested in writing or contributing to formulas, please pay attention to the Writing Formula Section.
If you want to use this formula, please pay attention to the FORMULA file and/or git tag,
which contains the currently released version. This formula is versioned according to Semantic Versioning.
See Formula Versioning Section for more details.
Contributing to this repo
Commit message formatting is significant!!
Please see :ref:`How to contribute <CONTRIBUTING>` for more details.
Available states
phpphp.adodbphp.apcphp.apcuphp.bcmathphp.cgiphp.cliphp.composerphp.curlphp.devphp.fileinfophp.fpmphp.gdphp.imagickphp.imapphp.intlphp.jsonphp.ldapphp.mailphp.mbstringphp.mcryptphp.memcachephp.memcachedphp.mongophp.mysqlphp.mysqlndphp.oauthphp.pearphp.pgsqlphp.readlinephp.redisphp.soapphp.sqlitephp.suhosinphp.sybasephp.tokenizerphp.xmlphp.zip
php
Installs the php package.
php.adodb
Installs the php-adodb package.
php.apc
Installs the php-apc package. 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.bcmath
Installs the php-bcmath package.
php.cgi
Installs the php-cgi package. Disabled on opensuse not available, only fastcgi
php.cli
Installs the php-cli package.
php.composer
Installs [composer](https://getcomposer.org) and keeps it updated.
php.curl
Installs the php5-curl package on Debian, and ensures that curl itself is installed for RedHat systems, this is due to the curl libs being provided by php-common, which will get installed with the main php package.
php.dev
Installs the php-dev package.
php.fileinfo
Installs the php-fileinfo package and enables it.
php.fpm
Installs the php-fpm package, starts the service, and enables it.
php.gd
Installs the php-gd package.
php.imagick
Installs the php-imagick package. Disabled on opensuse not available.
php.imap
Installs the php-imap package.
php.intl
Installs the php-intl package.
php.json
Installs the php-json package.
php.ldap
Installs the php-ldap package.
php.mail
Installs the php-mail package.
php.mbstring
Installs the php-mbstring package.
php.mcrypt
Installs the php-mcrypt package.
php.memcache
Installs the php-memcache package. Disabled on opensuse need server:php:extensions repo
php.memcached
Installs the php-memcached package. Disabled on opensuse need server:php:extensions repo
php.mongo
Installs the php-mongo package. Disabled on opensuse need server:php:extensions repo
php.mysql
Installs the php-mysql package.
php.mysqlnd
Installs the php-mysqlnd package. Disabled on opensuse no package.
php.oauth
Installs the php-oauth package.
php.pear
Installs the php-pear package.
php.pgsql
Installs the php-pgsql package.
php.readline
Installs the php-readline package.
php.redis
Installs the php-redis package. Disabled on opensuse need server:php:extensions repo
php.soap
Installs the php-soap package.
php.sqlite
Installs the php-sqlite package,
php.suhosin
Installs the php-suhosin package.
php.sybase
Installs the php-sybase package for Sybase/MS-SQL. Debian / Ubuntu as RedHat has no similar package.
php.tokenizer
Installs the php-tokenizer package and enables it.
php.xml
Installs the php-xml package.
php.zip
Installs the php-zip package.
Next-generation, alternate approach
The following states provide an alternate approach to managing PHP and FPM
pools, as well as code organization. Please provide feedback by filing issues,
discussing in #salt in Freenode and the mailing list as normal.
Note: php.ng states require the merge parameter of salt.modules.pillar.get(), first available in the Helium release.
php.ngphp.ng.adodbphp.ng.apache2php.ng.apache2.iniphp.ng.apache2.installphp.ng.apcphp.ng.apcuphp.ng.auth-saslphp.ng.bcmathphp.ng.bz2php.ng.cache-litephp.ng.cgiphp.ng.cliphp.ng.cli.iniphp.ng.cli.installphp.ng.composerphp.ng.console-tablephp.ng.ctypephp.ng.curlphp.ng.dbaphp.ng.devphp.ng.filterphp.ng.fpmphp.ng.fpm.configphp.ng.fpm.installphp.ng.fpm.poolsphp.ng.fpm.pools_configphp.ng.fpm.servicephp.ng.gdphp.ng.gearmanphp.ng.geoipphp.ng.geshiphp.ng.gettextphp.ng.gmpphp.ng.hashphp.ng.httpphp.ng.hhvmphp.ng.hhvm.configphp.ng.hhvm.installphp.ng.hhvm.servicephp.ng.igbinaryphp.ng.imagickphp.ng.imapphp.ng.intlphp.ng.jsonphp.ng.ldapphp.ng.mailphp.ng.mbstringphp.ng.mcryptphp.ng.mdb2php.ng.mdb2-driver-mysqlphp.ng.mdb2-driver-pgsqlphp.ng.memcachephp.ng.memcachedphp.ng.modulesphp.ng.mongophp.ng.mongodbphp.ng.msgpackphp.ng.mysqlphp.ng.mysqlndphp.ng.net-smtpphp.ng.net4php.ng.oauthphp.ng.opcachephp.ng.opensslphp.ng.pearphp.ng.pgsqlphp.ng.pharphp.ng.posixphp.ng.pspellphp.ng.readlinephp.ng.redisphp.ng.seclibphp.ng.sessionphp.ng.snmpphp.ng.soapphp.ng.sqlitephp.ng.ssh2php.ng.suhosinphp.ng.svnphp.ng.sybasephp.ng.tcpdfphp.ng.tidyphp.ng.uuidphp.ng.xcachephp.ng.xcache.iniphp.ng.xcache.installphp.ng.xdebugphp.ng.xmlphp.ng.xslphp.ng.zip
php.ng
Installs the php package.
php.ng.adodb
Installs the php-adodb package.
php.ng.apache2
Meta-state that combines php.ng.apache2.install and php.ng.apache2.ini.
php.ng.apache2.ini
Manages the apache2 php.ini file
php.ng.apache2.install
Installs the apache2 and libapache2-mod-php5 package. Debian Only.
php.ng.apc
Installs the php-apc package. Disabled on opensuse need server:php repo
php.ng.apcu
Installs the php-apcu package. Disabled on opensuse need server:php repo
php.ng.auth-sasl
Installs the php-auth-sasl package.
php.ng.bcmath
Installs the php-bcmath package.
php.ng.bz2
Installs the php-bz2 package.
php.ng.cache-lite
Installs the php-cache-lite package.
php.ng.cgi
Installs the php-cgi package. Disabled on opensuse only php5-fastcgi available.
php.ng.cli
Meta-state that combines php.ng.cli.install and php.ng.cli.ini.
php.ng.cli.ini
Manages the php-cli ini file.
php.ng.cli.install
Installs the php-cli package.
php.ng.composer
Installs [composer](https://getcomposer.org) and keeps it updated.
php.ng.console-table
Installs the php-console-table package.
php.ng.ctype
Installs the php-ctype package.
php.ng.curl
Installs the php5-curl package on Debian, and ensures that curl itself is installed for RedHat systems, this is due to the curl libs being provided by php-common, which will get installed with the main php package.
php.ng.dba
Installs the php-dba package.
php.ng.dev
Installs the php5-dev and build-essential package.
php.ng.filter
Installs the php-filter package.
php.ng.fpm
Meta-state that combines all php.ng.fpm states.
php.ng.fpm.config
Manages the (non-pool) php-fpm config files.
php.ng.fpm.install
Installs the php-fpm package.
php.ng.fpm.pools
Meta-state that combines php.ng.fpm.service and php.ng.fpm.pools_config
php.ng.fpm.pools_config
Manages php-fpm pool config files.
php.ng.fpm.service
Manages the php-fpm service.
php.ng.gd
Installs the php-gd package.
php.ng.gearman
Installs the php-gearman package.
php.ng.geoip
Installs the php-geoip package.
php.ng.geshi
Installs the php-geshi package.
php.ng.gettext
Installs the php-gettext package.
php.ng.gmp
Installs the php-gmp package. Debian Only.
php.ng.hash
Installs the php-hash package.
php.ng.http
Installs the php-http package.
php.ng.hhvm
Meta-state that combines php.ng.hhvm states
php.ng.hhvm.config
Manages the php-hhvm config files
php.ng.hhvm.install
Installs the php-hhvm package
php.ng.hhvm.repo
^^^^^^^^^.REPO^^^^^^
Configures the hhvm repo for debian/ubuntu
php.ng.hhvm.service
Manages the php-hhvm service.
php.ng.igbinary
Installs the php-igbinary package.
php.ng.imagick
Installs the php-imagick package. Disabled on opensuse no package.
php.ng.imap
Installs the php-imap package.
php.ng.intl
Installs the php-intl package.
php.ng.json
Installs the php-json package.
php.ng.ldap
Installs the php-ldap package.
php.ng.mail
Installs the php-mail package.
php.ng.mbstring
Installs the php-mbstring package.
php.ng.mcrypt
Installs the php-mcrypt package.
php.ng.mdb2
Installs the php-mdb2 package.
php.ng.mdb2-driver-mysql
Installs the php-mdb2-driver-mysql package.
php.ng.mdb2-driver-pgsql
Installs the php-mdb2-driver-pgsql package.
php.ng.memcache
Installs the php-memcache package. Disabled on opensuse need server:php:extensions repo