Hello, how can I add to customer account rights to edit vhosts Apache and PHP directives in configuration?
You can't as the user would be able to extend his rights and potentially could take over the server. What you can do is that you make config snippets (see System module) which then can be selected by the user.