Error Existing configuration file (/etc/phpmyadmin/config.inc.php) is not readable 2

I know its a topic with same name but its closed and i can`t reply there and the command chown -R root:www-data /etc/phpmyadmin/ fix the error but i get a new error wen i try to login how to fix this http error ? “” Failed to set session cookie. Maybe you are using HTTP instead of HTTPS to access phpMyAdmin.“” i have https on the domain but not on the cp

Thank you