Skip to content
This repository was archived by the owner on Apr 3, 2026. It is now read-only.

DanielChalk/php54-cookbook

Repository files navigation

php54 cookbook

Get php 5.4 installed on CentOS, RHEL and Fefora.

Requirements

  • yum cookbook
  • yum-epel cookbook

Usage

Install PHP

Using a recpie

include_recipe "php54"

Using a node json file

{
	"runlist": ["recipe[php54]"]
}

Installing PHP packages

The php_package definition uses the package definition but prefixes the package name with php54-php-.

php_package "cli" do 
	action :install
end

Using FPM

The php_fpm_pool definition from the php-fpm cookbook as been ripped off here with adjustments made to work with the php54 packages

php_fpm_pool node['lemp']['app_name'] do
  listen node['lemp']['php_socket']
  user node['nginx']['user']
  group node['nginx']['user']
  enable :true
end

Attributes

Recipes

Author

Author:: Daniel Chalk (daniel-chalk@hotmail.co.uk)

About

php54 chef cookbook

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages