php issueshttps://git.coop/webarch/php/-/issues2023-06-28T14:12:23Zhttps://git.coop/webarch/php/-/issues/6Sury branch check fails as packages are not yet installed2023-06-28T14:12:23ZChris Croomechris@webarchitects.co.ukSury branch check fails as packages are not yet installed```
TASK [php : Ensure that mods that are required to be enabled for PHP 7.4 cli SAPI are available] ****************************************************************************************************************************************...```
TASK [php : Ensure that mods that are required to be enabled for PHP 7.4 cli SAPI are available] *******************************************************************************************************************************************************************************
fatal: [/chroot]: FAILED! => {"assertion": "php_mods_enable | ansible.builtin.difference(php_mods_available) == []", "changed": false, "evaluated_to": false, "msg": "Mod(s) gmp, mysqli, mysqlnd, pdo_mysql, soap need to be installed before they can be made available."}
```Chris Croomechris@webarchitects.co.ukChris Croomechris@webarchitects.co.ukhttps://git.coop/webarch/php/-/issues/1Multiple PHP versions2023-06-27T21:48:37ZChris Croomechris@webarchitects.co.ukMultiple PHP versionsCurrently this role supports the version of PHP that comes with the distro, it would be nice to have the option to run multiple versions using the [sury repo](https://packages.sury.org/php/README.txt), see also [the Debian guide for thir...Currently this role supports the version of PHP that comes with the distro, it would be nice to have the option to run multiple versions using the [sury repo](https://packages.sury.org/php/README.txt), see also [the Debian guide for third party repos](https://wiki.debian.org/DebianRepository/UseThirdParty#Sources.list_entry).WSH Version 1.0Chris Croomechris@webarchitects.co.ukChris Croomechris@webarchitects.co.ukhttps://git.coop/webarch/php/-/issues/5Creating and editing INI files2023-06-27T21:48:24ZChris Croomechris@webarchitects.co.ukCreating and editing INI filesPHP configuration uses INI files, the method of creating and editing them should be copied from the [systemd](https://git.coop/webarch/systemd) role.PHP configuration uses INI files, the method of creating and editing them should be copied from the [systemd](https://git.coop/webarch/systemd) role.Chris Croomechris@webarchitects.co.ukChris Croomechris@webarchitects.co.ukhttps://git.coop/webarch/php/-/issues/4Enable APCu2022-03-08T15:23:39ZChris Croomechris@webarchitects.co.ukEnable APCuSee [PHP: APCu - Manual](https://www.php.net/manual/en/book.apcu.php)See [PHP: APCu - Manual](https://www.php.net/manual/en/book.apcu.php)Chris Croomechris@webarchitects.co.ukChris Croomechris@webarchitects.co.ukhttps://git.coop/webarch/php/-/issues/2Check php.ini disable_functions2021-09-15T13:00:00ZChris Croomechris@webarchitects.co.ukCheck php.ini disable_functionsFor security a lot of PHP functions need to be disabled, see for example:
* https://alionder.net/dangerous-php-functions/
Note that `proc_open` is needed by this MediaWiki extension:
* https://www.mediawiki.org/wiki/Extension:SyntaxHi...For security a lot of PHP functions need to be disabled, see for example:
* https://alionder.net/dangerous-php-functions/
Note that `proc_open` is needed by this MediaWiki extension:
* https://www.mediawiki.org/wiki/Extension:SyntaxHighlightWSH Version 1.0Chris Croomechris@webarchitects.co.ukChris Croomechris@webarchitects.co.ukhttps://git.coop/webarch/php/-/issues/3Rename role2021-09-15T12:58:03ZChris Croomechris@webarchitects.co.ukRename roleRather than being `php-fpm` this role should be moved to `php` as Ansible Galaxy doesn't support dashes in URLs as the URL is use for [the node name](https://galaxy.ansible.com/docs/contributing/creating_role.html#role-names), however th...Rather than being `php-fpm` this role should be moved to `php` as Ansible Galaxy doesn't support dashes in URLs as the URL is use for [the node name](https://galaxy.ansible.com/docs/contributing/creating_role.html#role-names), however the existing [php repo](https://git.coop/webarch/php) will need moving out of the way first.WSH Version 1.0Chris Croomechris@webarchitects.co.ukChris Croomechris@webarchitects.co.uk