On checking Apache error logs it shows the error:
[error] ModSecurity: Input filter: Failed to create temporary file: /root/tmp/[email protected]_body-nKiZdT [hostname "www.cpanelplesk.com"] [uri "/wp-admin/admin.php"] [unique_id "[email protected]"]
The error occurs when the modsecurity has no access on /root/tmp directory.
Add these below lines in /usr/local/apache/conf/modsec2.conf
SecUploadDir /tmp SecTmpDir /tmp SecDataDir /tmp SecRequestBodyAccess On
Now restart Apache service to make the changes effective
service httpd restart
That’s all to do to fix the issue. You also like to know Prevent .Htaccess File Modification While Running EasyApache , Please check that and also Give your opinion below if you experience any issues or to discuss your ideas and experiences.