Symptoms
After enabling mod_http2, you might be unable to upload files with PHP or it's possible to upload files with PHP only when changing the permissions on the upload directory to 777. In addition you might notice that the owner and group for uploaded files are not the cPanel account’s user anymore, but “nobody”.
Workaround
If your server requires that you run websites as the user’s account, run the following command to install mod_suexec
:
yum install ea-apache24-mod_suexec
Additionally, the following packages are NOT compatible with mod_http2:
mod_mpm_itk
mod_mpm_prefork
mod_ruid2
So as long as you avoid these in your EasyApache profile and also include mod_suexec in your profile, you should be able to run websites as the user’s account.
You can also refer to this article to see which profiles are compatible with mod_http2:
Which EasyApache 4 profiles are compatible with HTTP2?
Comments
0 comments
Article is closed for comments.