~/talk

Automating PHP upgrades with Ansible

Talkat Dutch PHP Conference 2019 · 2019-06-06..06-08· [php, devops-and-delivery]
slides:none on file

Automates the upgrade path by using Ansible playbooks, Remi repos, Jinja templates, handlers and Ansible Vault to install PHP packages, configure php.ini and PHP‑FPM sockets, and run tests. Upgraded 13 apps to PHP 7.2 in two months and redeployed 100+ servers and swapped Apache to Nginx, with average PHP processing time down ~30% and some apps nearly 100% faster. Includes composer and PHPUnit version bumps, rolling updates or blue/green provisioning, and checks to only add healthy hosts to load balancers.

AI-written summary · about

  1. 0:00Intro
  2. 0:32Agenda
  3. 1:23Current PHP versions
  4. 5:45Why use PHP 71
  5. 10:03What is Ansible
  6. 13:10Infrastructure as Code
  7. 19:48Automation
  8. 21:56Managing databases
  9. 23:16EC2 metadata facts
  10. 24:45Ansible features
  11. 26:55PHP programmatically
  12. 27:49Using environment variables
  13. 29:42Using handlers
  14. 30:18Why Nginx
  15. 31:07Example
  16. 31:48Future proofing
  17. 32:16Considerations
  18. 35:29DevOps plug
  19. 36:21QA
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.