Installs and configures PHP5.
- This was not meant for sharing, I plan to move to the community cookbook
CentOS 5.x/6.x
- apache2
default[:php5][:session_handler] = 'files'
default[:php5][:session_save_path] = '/var/lib/php/session'
default[:php5][:memcache_session_save_path] = 'tcp://localhost:11211?persistent=1&weight=1&timeout=1&retry_interval=15'
default[:php5][:post_max_size]
default[:php5][:upload_max_filesize]
default[:php5][:max_execution_time]
default[:php5][:max_input_time]
default[:php5][:memory_limit]
Include php5 in your node's run_list to get:
- "php5::module_mysql"
- "php5::module_apc"
- "php5::module_gd"
- "php5::module_memcache"
Installs the mysql php module
Installs the apc php module
Installs the gd php module
Installs the memcache php module
Installs the varnish php module
Installs the xml php module
- Fork the repository on Github
- Create a named feature branch (i.e.
add-new-recipe) - Write you change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request
Author:: E Camden Fisher (fish@fishnix.net)