- Plesk for Linux
- Domain shows 500 error sometimes.
- The following occurs in
CONFIG_TEXT: "POST /wp-version.php HTTP/1.0" 500 304"
- In the same time in
/var/www/vhosts/example.com/logs/error_logthere can be found errors similar with:
CONFIG_TEXT: AH01071: Got error 'PHP message: PHP Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0\nPHP message: PHP Warning: Unknown: failed to open stream: No such file or directory in Unknown on line 0\nPHP message: PHP Fatal error: Unknown: Failed opening required '/var/www/vhosts/example.com/httpdocs/wordfence-waf.php' (include_path='.:/opt/plesk/php/7.0/share/pear') in Unknown on line 0\n' The WordFence plugin is or was installed.
/var/www/vhosts/example.com/httpdocs/wordfence-waf.phpfile is missing:
# stat /var/www/vhosts/example.com/httpdocs/wordfence-waf.php
Cannot stat: No such file or directory
Custom configuration of
- Connect to the server via SSH
/var/www/vhosts/example.com/httpdocs/user.inifile by commenting "auto_prepend_file = '/var/www/vhosts/example.com/httpdocs/wordfence-waf.php'" line:
# cat /var/www/vhosts/example.com/httpdocs/user.ini
;auto_prepend_file = '/var/www/vhosts/example.com/httpdocs/wordfence-waf.php