mirror of
https://github.com/geerlingguy/ansible-role-php.git
synced 2025-02-15 01:01:29 +01:00
Updated readme for the php_repostate var
This commit is contained in:
parent
f20bbde884
commit
021441e17b
@ -30,6 +30,10 @@ The default values for the HTTP server deamon are `httpd` (used by Apache) for R
|
||||
|
||||
(RedHat/CentOS only) If you have enabled any additional repositories (might I suggest [geerlingguy.repo-epel](https://github.com/geerlingguy/ansible-role-repo-epel) or [geerlingguy.repo-remi](https://github.com/geerlingguy/ansible-role-repo-remi)), those repositories can be listed under this variable (e.g. `remi-php56,epel`). This can be handy, as an example, if you want to install the latest version of PHP 5.6, which is in the Remi repository.
|
||||
|
||||
php_repostate: ""
|
||||
|
||||
If you have enabled any additional repositories such as [geerlingguy.repo-epel](https://github.com/geerlingguy/ansible-role-repo-epel) or [geerlingguy.repo-remi](https://github.com/geerlingguy/ansible-role-repo-remi), you may want an easy way to swap PHP versions on the fly. By default, this is set to 'installed'. You can now override this variable to 'latest'. Combined with php_enablerepo, a user now doesn't need to manually uninstall the existing PHP packages before installing them from a different repository.
|
||||
|
||||
php_executable: "php"
|
||||
|
||||
The executable to run when calling PHP from the command line. You should only change this if running `php` on your server doesn't target the correct executable, or if you're using software collections on RHEL/CentOS and need to target a different version of PHP.
|
||||
|
Loading…
Reference in New Issue
Block a user