geerlingguy / ansible-role-php

Ansible Role - PHP
https://galaxy.ansible.com/geerlingguy/php/
MIT License
496 stars 441 forks source link

Issue #357: Two versions of PHP are getting installed. #361

Closed geerlingguy closed 2 years ago

geerlingguy commented 2 years ago

Fixes #357.

geerlingguy commented 2 years ago

Dangit, now getting this error on Debian 11:

  TASK [Confirm PHP configuration is correct.] ***********************************
  fatal: [instance]: FAILED! => {"changed": false, "cmd": "php -i | grep 'memory_limit.*192'", "delta": "0:00:00.024124", "end": "2022-02-02 18:48:04.470534", "msg": "non-zero return code", "rc": 1, "start": "2022-02-02 18:48:04.446410", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
geerlingguy commented 2 years ago

Looks like also maybe php-sqlite3 is a problem.

geerlingguy commented 2 years ago

Now erroring out in Ubuntu 18.04:

  TASK [Confirm PHP configuration is correct.] ***********************************
  fatal: [instance]: FAILED! => {"changed": false, "cmd": "php -i | grep 'memory_limit.*192'", "delta": "0:00:00.038701", "end": "2022-02-02 19:31:54.647924", "msg": "non-zero return code", "rc": 1, "start": "2022-02-02 19:31:54.609223", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}