- Plesk for Linux
The website example.com is not accessible after migration. The following error message is shown in a browser:
PLESK_INFO: Access denied for user 'admin'@'localhost' (using password: YES)
The error message below appears in
/var/www/vhosts/example.com/logs/error_logeach time the website example.com is opened:
CONFIG_TEXT: [proxy_fcgi:error] [pid 21470] [client 203.0.113.2:60089] AH01071: Got error 'PHP message: PHP Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/vhosts/example.com/httpdocs/index.php on line 19\n'
The website has been migrated from an old OS (CentOS 5, Debian 6, Ubuntu 12.04).
The website is using PHP version lower than 5.5.0 ( Plesk > Domains > example.com > PHP version ).
Website code is incompatible with a newer software.
Review the website code.