change php version for individual users via command line

/usr/local/directadmin/data/users/user/domains/domain.com.conf, just set php1_select=1/2/3/4 (matching CB options.conf release), execute:
Code:
cd /usr/local/directadmin/custombuild
./build rewrite_confs

That's it :) If you're going to script something for it, there it a way to rewrite just a single user config (way faster).
 
Back
Top