T techiee New member Joined Jul 11, 2019 Messages 1 Jul 11, 2019 #1 how to change the version of php for a user using command line
smtalk Administrator Staff member Joined Aug 22, 2006 Messages 10,162 Location LT, EU Jul 11, 2019 #2 /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).
/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).