- Plesk 12.5 for Linux
WordPress sites show blank page.
The following is found in
[error] [client 203.0.113.2] PHP Warning: require_once(/var/www/vhosts/example.com/httpdocs/wp-config.php): failed to open stream: Permission denied in /var/www/vhosts/example.com/httpdocs/wp-load.php on line 37
[error] [client 203.0.113.2] PHP Fatal error: require_once(): Failed opening required '/var/www/vhosts/example.com/httpdocs/wp-config.php' (include_path='.:') in /var/www/vhosts/example.com/httpdocs/wp-load.php on line 37
/var/www/vhosts/example.com/httpdocs/wp-config.phpfile are correct: 600
example.com has FastCGI handler in Domains > example.com > PHP Settings , but in domain's configuration file, Apache module is set up:
Domain configuration got corrupted. Domain is configured in Plesk to use FastCGI, but according to Apache configuration file, PHP is handled by Apache Module.
- Login to the server over SSH
- Reconfigure the domain:
#/usr/local/psa/admin/bin/httpdmng --reconfigure-domain <domain_name>