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”.
Cause
Additionally, the following packages are NOT compatible with mod_http2:
mod_mpm_itkmod_mpm_preforkmod_ruid2
Resolution
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
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.
Additional Resources
You can also refer to this article to see which profiles are compatible with mod_http2:
Comments
0 comments
Article is closed for comments.