Custom Php-FPM: per-User global php CUSTOM tokens (SKINS)

Version 1.561


With the more common use of the php version selector, you may want your custom php-fpm configs to span all php versions. 2 new textareas in the Custom Httpd Config -> php-fpmXX page for "global php-fpm CUSTOM1" and "global php-fpm CUSTOM2" When you save data into either of these fields, the CUSTOM1/CUSTOM2 tokens set to span all php versions that the User may select from. The bottom 2 boxes, as before, will only apply to that given php version. There is also the "save to all php versions" which copies your data to all custom tokens for each php version: ========================= FILES /usr/local/directadmin/data/users/username/php/php-fpm.conf.custom1 /usr/local/directadmin/data/users/username/php/php-fpm.conf.custom2 which will be set into the CUSTOM1/CUSTOM2 tokens before the php-fpm73.conf.custom1 files (for example). But both global and per-php, if present, will end up into the same token. ========================= SKINS 2 new textareas, added before the per-php tokens: <textarea class="code_edit" cols=160 rows=4 wrap=off name=global_custom1>|GLOBAL_CUSTOM1|</textarea> <textarea class="code_edit" cols=160 rows=4 wrap=off name=global_custom2>|GLOBAL_CUSTOM2|</textarea>

Interested to try DirectAdmin? Get a 30-day Free Trial!