Originally Posted by vikmur
Imagine, that this is exact what I need to do... many different sites, with different requirements of php flags...
Yes but you should not let the clients set them theirselves.
Maybe you could use the "Options" tab in a site's settings page as admin.
There you can define apache directives (like php flags).