cookbook 'php-fpm', '= 0.2.0'
php-fpm
(39) Versions
0.2.0
-
Follow81
Installs/Configures php-fpm
cookbook 'php-fpm', '= 0.2.0', :supermarket
knife supermarket install php-fpm
knife supermarket download php-fpm
Description
Installs and configures PHP-FPM (FastCGI Process Manager), an alternative PHP FastCGI implementation with some additional features useful for sites of any size, especially busier sites. It's like the unicorn
of the PHP world dawg.
Requirements
Platform
- Debian, Ubuntu
- CentOS, Red Hat, Fedora
Cookbooks
- php
- apt (leverages apt_repository LWRP)
- yum (leverages yum_repository LWRP)
The apt_repository
and yum_repository
LWRPs are used from these cookbooks to create the proper repository entries so the php-fpm package downloaded and installed.
Attributes
TODO: FINISH THIS LWRP
This cookbook includes LWRPs for managing PHP-FPM config files.
php-fpm_config
Creates a PHP-FPM configuration file at the path specified. Meant to be deployed with a service init scheme/supervisor such as runit. Please see the appliation::php-fpm
recipe for a complete working example. In depth information about PHP-FPM's configuration values can be found in the PHP-FPM documentation.
Actions
- :create: create a PHP-FPM configuration file.
- :delete: delete an existing PHP-FPM configuration file.
Attributes
Usage
Simply include the recipe where you want PHP-FPM installed.
License and Author
Author:: Seth Chisamore (schisamo@opscode.com)
Copyright:: 2011, Opscode, Inc
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.