{"id":15517563,"url":"https://github.com/bodgit/puppet-php","last_synced_at":"2025-04-11T01:44:35.817Z","repository":{"id":57664655,"uuid":"145672746","full_name":"bodgit/puppet-php","owner":"bodgit","description":"Puppet Module for managing PHP","archived":false,"fork":false,"pushed_at":"2018-08-24T16:28:41.000Z","size":96,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T22:51:21.400Z","etag":null,"topics":["php","php-fpm","puppet"],"latest_commit_sha":null,"homepage":"https://forge.puppet.com/bodgit/php","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bodgit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-08-22T07:28:21.000Z","updated_at":"2021-10-29T19:50:16.000Z","dependencies_parsed_at":"2022-09-14T21:40:43.693Z","dependency_job_id":null,"html_url":"https://github.com/bodgit/puppet-php","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodgit%2Fpuppet-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodgit%2Fpuppet-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodgit%2Fpuppet-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodgit%2Fpuppet-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bodgit","download_url":"https://codeload.github.com/bodgit/puppet-php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248327781,"owners_count":21085257,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["php","php-fpm","puppet"],"created_at":"2024-10-02T10:13:47.391Z","updated_at":"2025-04-11T01:44:35.793Z","avatar_url":"https://github.com/bodgit.png","language":"Ruby","readme":"# php\n\nTested with Travis CI\n\n[![Build Status](https://travis-ci.com/bodgit/puppet-php.svg?branch=master)](https://travis-ci.com/bodgit/puppet-php)\n[![Coverage Status](https://coveralls.io/repos/bodgit/puppet-php/badge.svg?branch=master\u0026service=github)](https://coveralls.io/github/bodgit/puppet-php?branch=master)\n[![Puppet Forge](http://img.shields.io/puppetforge/v/bodgit/php.svg)](https://forge.puppetlabs.com/bodgit/php)\n\n#### Table of Contents\n\n1. [Description](#description)\n2. [Setup - The basics of getting started with php](#setup)\n    * [Setup requirements](#setup-requirements)\n    * [Beginning with php](#beginning-with-php)\n3. [Usage - Configuration options and additional functionality](#usage)\n4. [Reference - An under-the-hood peek at what the module is doing and how](#reference)\n5. [Limitations - OS compatibility, etc.](#limitations)\n6. [Development - Guide for contributing to the module](#development)\n\n## Description\n\nThis module manages PHP and the FastCGI Process Manager.\n\nCentOS, RHEL, Scientific and Oracle Enterprise Linux is supported using Puppet\n4.9.0 or later.\n\n## Setup\n\n### Setup Requirements\n\nOn RHEL/CentOS platforms you may need to have access to the EPEL repository\nfor some of the additional PHP extensions by using\n[stahnma/epel](https://forge.puppet.com/stahnma/epel) or by other means.\nIf you wish to use a version of PHP shipped in a Software Collection then you\nwill need access to the SCL repository using\n[bodgit/scl](https://forge.puppet.com/bodgit/scl) or similar.\n\n### Beginning with php\n\nIn the very simplest case, you can just include the following which mimics the\ndefault installation and extensions:\n\n```puppet\ninclude ::php\n```\n\n## Usage\n\nAdditional extensions are available, so if you need MySQL support:\n\n```puppet\ninclude ::php\ninclude ::php::extension::mysql\n```\n\nThe FastCGI Process Manager can be installed and multiple pools can be\nconfigured:\n\n```puppet\ninclude ::php\ninclude ::php::fpm\n\n::php::fpm::pool { 'www':\n  listen          =\u003e '/var/run/php-fpm/www.sock',\n  pm              =\u003e 'static',\n  pm_max_children =\u003e 10,\n  user            =\u003e 'apache',\n}\n```\n\n## Reference\n\nThe reference documentation is generated with\n[puppet-strings](https://github.com/puppetlabs/puppet-strings) and the latest\nversion of the documentation is hosted at\n[https://bodgit.github.io/puppet-php/](https://bodgit.github.io/puppet-php/).\n\n## Limitations\n\nThis module has been built on and tested against Puppet 4.9.0 and higher.\n\nThe module has been tested on:\n\n* CentOS Enterprise Linux 6/7\n\nThis module doesn't install or configure `mod_php` for Apache however the\n`apache::mod::php` class should work in combination with this module.\n\n## Development\n\nThe module has both [rspec-puppet](http://rspec-puppet.com) and\n[beaker-rspec](https://github.com/puppetlabs/beaker-rspec) tests. Run them\nwith:\n\n```\n$ bundle exec rake test\n$ PUPPET_INSTALL_TYPE=agent PUPPET_INSTALL_VERSION=x.y.z bundle exec rake beaker:\u003cnodeset\u003e\n```\n\nPlease log issues or pull requests at\n[github](https://github.com/bodgit/puppet-php).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbodgit%2Fpuppet-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbodgit%2Fpuppet-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbodgit%2Fpuppet-php/lists"}