7

Script hook for changing PHP version/handler


R
Ruben K

At this moment there isn't a domain management hook (https://docs.directadmin.com/developer/hooks/domain_management.html) which gets triggered when changing the PHP version/handler (using the DA PHP Selector). user_httpd_write_(pre|post).sh could be used as a work around, but this one is missing a lot of useful variables.

I would like to see an additional hook script (something like php_change_(pre|post).sh) which runs when only changing the PHP version/handler of a domain.

A different (and perhaps easier to implement) solution would be to change domain_modify_(pre|post).sh so that it would be triggered when modifying the PHP version/handler.

A

Activity Newest / Oldest

Avatar

Mart Rauhe

Would love to see this in the future!


  • Avatar
J

Jeroen Dekker

+1; this would be incredibly useful


  • Avatar