{"id":21400213,"url":"https://github.com/oefenweb/ansible-php-cli-ondrej","last_synced_at":"2025-06-13T09:32:39.280Z","repository":{"id":54459319,"uuid":"60848742","full_name":"Oefenweb/ansible-php-cli-ondrej","owner":"Oefenweb","description":"Ansible role to set up PHP Cli in Ubuntu systems (using Ondřej Surý's ppa)","archived":false,"fork":false,"pushed_at":"2024-11-07T15:23:55.000Z","size":134,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-07T16:30:41.830Z","etag":null,"topics":["ansible","cli","ondrej-ppa","php","php-cli","php7","ppa","ubuntu"],"latest_commit_sha":null,"homepage":null,"language":"Jinja","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Oefenweb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2016-06-10T13:14:08.000Z","updated_at":"2024-11-07T15:23:56.000Z","dependencies_parsed_at":"2023-02-08T19:15:17.140Z","dependency_job_id":"827bee5f-7c80-4bf9-b6e9-d1fc3d27ed47","html_url":"https://github.com/Oefenweb/ansible-php-cli-ondrej","commit_stats":null,"previous_names":[],"tags_count":66,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oefenweb%2Fansible-php-cli-ondrej","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oefenweb%2Fansible-php-cli-ondrej/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oefenweb%2Fansible-php-cli-ondrej/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oefenweb%2Fansible-php-cli-ondrej/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Oefenweb","download_url":"https://codeload.github.com/Oefenweb/ansible-php-cli-ondrej/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225917525,"owners_count":17544906,"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":["ansible","cli","ondrej-ppa","php","php-cli","php7","ppa","ubuntu"],"created_at":"2024-11-22T15:19:40.136Z","updated_at":"2025-06-13T09:32:39.270Z","avatar_url":"https://github.com/Oefenweb.png","language":"Jinja","readme":"## php-cli-ondrej\n\n[![CI](https://github.com/Oefenweb/ansible-php-cli-ondrej/workflows/CI/badge.svg)](https://github.com/Oefenweb/ansible-php-cli-ondrej/actions?query=workflow%3ACI)\n[![Ansible Galaxy](http://img.shields.io/badge/ansible--galaxy-php--cli--ondrej-blue.svg)](https://galaxy.ansible.com/Oefenweb/php_cli_ondrej)\n\nSet up PHP Cli in Ubuntu systems (using Ondřej Surý's ppa).\n\n#### Requirements\n\n* `software-properties-common` (will be installed)\n* `dirmngr` (will be installed)\n* `apt-transport-https` (will be installed)\n\n#### Variables\n\n* `php_cli_ondrej_version`: [default: `8.1`]: Version to install (e.g. `7.0`, `7.1`, `7.2`, `7.3`, `7.4`, `8.0`, `8.1` and `8.2`)\n\n* `php_cli_ondrej_install`: [default: `[]`]: (Additional) Packages to install\n\n* `php_cli_ondrej_update_alternatives`: [default: `true`]: Whether to run `update-alternatives`\n\n* `php_cli_ondrej_precision`: [default: `14`]: The number of significant digits displayed in floating point numbers\n* `php_cli_ondrej_serialize_precision`: [default: `17`, `-1` since `7.1`]: When floats \u0026 doubles are serialized store serialize_precision significant digits after the floating point\n* `php_cli_ondrej_disable_functions`: [default: `[]`]: This directive allows you to disable certain functions for security reasons\n* `php_cli_ondrej_max_execution_time`: [default: `0`]: Maximum execution time of each script, in seconds\n* `php_cli_ondrej_date_timezone`: [optional]: The timezone used by all date/time functions\n* `php_cli_ondrej_memory_limit`: [default: `-1`]: Maximum amount of memory a script may consume\n* `php_cli_ondrej_zend_assertions`: [default: `-1`]: When set to `1`, assertion code will be generated and executed (`development mode`). When set to `0`, assertion code will be generated but it will be skipped (not executed) at runtime. When set to `-1`, assertion code will not be generated, making the assertions zero-cost (`production mode`) (since `7.0`)\n* `php_cli_ondrej_assert_active`: [optional]: Enable `assert()` evaluation\n* `php_cli_ondrej_assert_exception`: [optional]: Issue an `AssertionError` exception for the failed assertion (since `7.0`)\n* `php_cli_ondrej_assert_warning`: [optional]: Issue a PHP warning for each failed assertion\n* `php_cli_ondrej_assert_bail`: [optional]: Terminate script execution on failed assertions\n* `php_cli_ondrej_assert_callback`: [optional]: User function to call on failed assertions\n* `php_cli_ondrej_assert_quiet_eval`: [optional]: Use the current setting of `error_reporting()` during assertion expression evaluation (removed as of `8.0`)\n* `php_cli_ondrej_error_reporting`: [default: `E_ALL \u0026 ~E_DEPRECATED \u0026 ~E_STRICT`]: This directive informs PHP of which errors, warnings and notices you would like it to take action for\n* `php_cli_ondrej_openssl_cafile`: [optional]: The location of a Certificate Authority (CA) file on the local filesystem (since `5.6`)\n* `php_cli_ondrej_openssl_capath`: [optional]: The location of a Certificate Authority (CA) directory on the local filesystem (since `5.6`)\n\n* `php_cli_ondrej_mods_present`: [default: `[{name: json}, {name: xml}, {name: readline}, {name: mysql}, {name: memcache}, {name: memcached}, {name: msgpack}, {name: mstring}, {name: mcrypt}, {name: gd}, {name: curl}]`]: Modules to install (and enable)\n* `php_cli_ondrej_mods_present.{n}.name`: [required]: The identifier of the module (e.g. `curl`)\n* `php_cli_ondrej_mods_present.{n}.dependencies`: [optional: default: `[]`]: Packages needed by the module (e.g. `php7.1-curl`)\n* `php_cli_ondrej_mods_present.{n}.state`: [optional, default `enabled`]: Modules to disable (e.g. `{name: xdebug, state: disabled}`)\n\n* `php_cli_ondrej_mods_absent`: [default: `[{name: opcache}]`]: Modules to disable\n* `php_cli_ondrej_mods_absent.{n}.name`: [required]: The identifier of the module (e.g. `opcache`)\n\n#### Dependencies\n\nNone\n\n#### Example(s)\n\n##### Simple\n\n```yaml\n---\n- hosts: all\n  roles:\n    - oefenweb.php-cli-ondrej\n```\n\n##### Multiple versions\n\n```yaml\n---\n- hosts: all\n  roles:\n    - role: oefenweb.php-cli-ondrej\n      php_cli_ondrej_version: 7.0\n      php_cli_ondrej_update_alternatives: false\n\n    - role: oefenweb.php-cli-ondrej\n      php_cli_ondrej_version: 5.6\n```\n\n#### License\n\nMIT\n\n#### Author Information\n\nMischa ter Smitten\n\n#### Feedback, bug-reports, requests, ...\n\nAre [welcome](https://github.com/Oefenweb/ansible-php-cli-ondrej/issues)!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foefenweb%2Fansible-php-cli-ondrej","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foefenweb%2Fansible-php-cli-ondrej","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foefenweb%2Fansible-php-cli-ondrej/lists"}