Answer the question
In order to leave comments, you need to log in
Why can't apache create folders/files?
Vestacp is installed on the first VPS and php+apache was installed along with it. Apache is running from www-data
APACHE_RUN_USER www-data
APACHE_RUN_GROUP www-data
APACHE_RUN_USER www-data
APACHE_RUN_GROUP www-data
PHP Warning: mkdir(): Permission denied
<IfModule mod_ruid2.c>
RMode config
RUidGid ankor1 ankor1
RGroups www-data
</IfModule>
<IfModule itk.c>
AssignUserID ankor1 ankor1
</IfModule>
<IfModule mod_ruid2.c>
RMode config
RUidGid ankor2 ankor2
RGroups www-data
</IfModule>
<IfModule mpm_itk.c>
AssignUserID ankor2 ankor2
</IfModule>
Answer the question
In order to leave comments, you need to log in
Everything turned out to be simple. The mpm_itk module was not installed.
# a2enmod mpm_itk
ERROR: Module mpm_itk does not exist!
apt install libapache2-mpm-itk
a2enmod mpm_itk
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question