With the introduction of the ability to change php.ini per-domain as mentioned in the last post, you might find that you need to add extra options to the php.ini editor’s dropdown list because the list provided is limited. You can do so by editing the php_settings.json file that is located here:
/usr/local/directadmin/data/templates/php_settings.json
When you are done, remember to place this file into a custom folder located below so that custombuild won’t overwrite it when you update DirectAdmin:
/usr/local/directadmin/data/templates/custom/php_settings.json
If you find that it is hard to edit this file (perhaps you hate JSON), then you can use this tutorial here to manually change php.ini per domain via command lines stated in method 2.