I will run an vhost as an other user, not www-data
So i tried the mpm_worker, but this is not working with php7
Whats the problem?
Is this not possible to run mpm_worker with php7?
I will run every domain with another user.
My system ar Ubuntu 16.06
This is my vhost.conf
Options Indexes FollowSymLinks MultiViews
allow from all
AssignUserId xxx xxx
worker is a threaded mpm, if you haven't compiled php for thread-safety you should not try to use a threaded mpm like worker. PHP version is something irrelevant for Apache HTTPD, consider mod_php (a third party module from php for Apache) and php itself as a separate things always.
Nowadays, you should use apache 2.4.x + mpm_event w/ mod_proxy_fcgi --> php-fpm
This way Apache will use the most performant mpm and php-fpm will be processed by its own daemon.