{"id":44438730,"url":"https://github.com/eaudeweb/edw_php","last_synced_at":"2026-02-12T14:29:48.136Z","repository":{"id":223688917,"uuid":"758100675","full_name":"eaudeweb/edw_php","owner":"eaudeweb","description":"Ansible role to deploy PHP versions on servers","archived":false,"fork":false,"pushed_at":"2025-04-28T11:39:24.000Z","size":73,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-28T12:45:52.085Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jinja","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eaudeweb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-02-15T16:17:50.000Z","updated_at":"2025-04-28T11:39:28.000Z","dependencies_parsed_at":"2025-04-28T12:31:41.290Z","dependency_job_id":"0eae5a46-f6ad-4022-8928-61e5a20d4abf","html_url":"https://github.com/eaudeweb/edw_php","commit_stats":null,"previous_names":["eaudeweb/edw_php"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/eaudeweb/edw_php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eaudeweb%2Fedw_php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eaudeweb%2Fedw_php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eaudeweb%2Fedw_php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eaudeweb%2Fedw_php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eaudeweb","download_url":"https://codeload.github.com/eaudeweb/edw_php/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eaudeweb%2Fedw_php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29368636,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T08:51:36.827Z","status":"ssl_error","status_checked_at":"2026-02-12T08:51:26.849Z","response_time":55,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2026-02-12T14:29:44.844Z","updated_at":"2026-02-12T14:29:48.129Z","avatar_url":"https://github.com/eaudeweb.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible Role for PHP\n\nInstalls PHP and configure php.ini and php pool on CentOS 7, 9 and Ubuntu servers.\n\nUsed:\n\n* https://rpms.remirepo.net/\n* https://launchpad.net/~ondrej/+archive/ubuntu/php\n\n## Templates\n\nThe templates used are the default ones when installing php with remi ()`see templates/`).\n\n## Variables\n\nAvailable variables are listed below, along with default values `(see defaults/main.yml)`:\n\n\n### PHP Installation\n\n```\nphp_version: 8.2\n```\nDefault php version is 8.2, but the value can be overwritten from host_vars.\n\nA list of the PHP packages to install is already declared `see vars/`.\n\n```\nphp_default_packages: []\n```\n\nYou can add other packages you'd like (in host_vars):\n\n```\nphp_extra_packages: []\n```\n\n### Configuration php.ini\n\nSee `vars`\n```\nphp_ini_path:\n```\n\nThese variables will be replaced in the php.ini file that exists on\nthe server at `php_ini_path`\n\n```\nphp_default_settings:\n  - { option: \"expose_php\", value: \"Off\", section: \"PHP\" }\n  - { option: \"memory_limit\", value: \"512M\", section: \"PHP\" }\n  - { option: \"max_execution_time\", value: \"180\", section: \"PHP\" }\n  - { option: \"max_input_time\", value: \"60\", section: \"PHP\" }\n  - { option: \"max_input_vars\", value: \"10000\", section: \"PHP\" }\n  - { option: \"realpath_cache_size\", value: \"4096k\", section: \"PHP\" }\n  - { option: \"file_uploads\", value: \"On\", section: \"PHP\" }\n  - { option: \"post_max_size\", value: \"200M\", section: \"PHP\" }\n  - { option: \"upload_max_filesize\", value: \"200M\", section: \"PHP\" }\n  - { option: \"max_file_uploads\", value: \"20\", section: \"PHP\" }\n  - { option: \"allow_url_fopen\", value: \"On\", section: \"PHP\" }\n  - { option: \"display_errors\", value: \"Off\", section: \"PHP\" }\n  - { option: \"display_startup_errors\", value: \"Off\", section: \"PHP\" }\n  - { option: \"error_log\", value: \"syslog\", section: \"PHP\" }\n  - { option: \"assert.active\", value: \"On\", section: \"Assertion\" }\n  - { option: \"date.timezone\", value: \"UTC\", section: \"Date\" }\n  - { option: \"mail.add_x_header\", value: \"0\", section: \"mail function\" }\n```\n\nIf you want to override or add others variables, use:\n\n```\nphp_custom_settings: []\n```\n\n### PHP-FPM (php pool)\n\nPhp fpm is enabled by default, but can be disabled from host_vars.\nIf this variable is set to `false`, the pool will not be modified and\nthe `php_fpm_service` will not be started and enabled.\n\n```\nphp_fpm_enable: true \n```\n\nSee `vars`:\n\n```\nphp_fpm_service: \n```\n\nThese variables will be replaced in the pool template (templates/pool.conf-Distribution.j2)\n\n```\nphp_fpm_pools:\n  - name: \"www\"\n    user: nginx\n    group: nginx\n    listen: \"{{ '/var/run/php' + php_version | replace('.', '') + '-php-fpm.sock' }}\"\n    listen_owner: nginx # listen.owner\n    listen_group: nginx # lsiten.group\n    listen_mode: 0660 # listen.mode\n    pm_max_children: 50 # pm.max_children\n    pm_start_servers: 10 # pm.start_servers\n    pm_min_spare_servers: 10 # pm.min_spare_servers\n    pm_max_spare_servers: 20 # pm.max_spare_servers\n    pm_max_requests: 500 # pm.max_requests\n```\n\nDefaul pool is `www`. If you want to modify the default settings\nfor `www` pool or to add a new pool, copy the given list to host_vars and update it.\n\n## Dependencies\n\nNone.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feaudeweb%2Fedw_php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feaudeweb%2Fedw_php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feaudeweb%2Fedw_php/lists"}