selectorctl --user-current --user=UU
selectorctl --user-current --user=UU
Change PHP version for user:
selectorctl --set-user-current=5.3 --user=UU
selectorctl --set-user-current=5.3 --user=UU
Enabling some extensions for a user:
selectorctl --enable-user-extensions=pdo,phar --version=5.3 --user=UU
selectorctl --enable-user-extensions=pdo,phar --version=5.3 --user=UU
Disable is done in the same way.
List user extensions:
selectorctl --list-user-extensions --version=5.3 --user=UU
selectorctl --list-user-extensions --version=5.3 --user=UU
Replace option in users php.ini:
selectorctl –-replace-options=log_errors:on,display_errors:on --version=5.3 --user=UU
selectorctl –-replace-options=log_errors:on,display_errors:on --version=5.3 --user=UU