[Solved] file_get_contents(/home/{username}/.ssh/id_rsa): failed to open stream: Permission denied

2023/05/20 17:52

Error

file_get_contents(/home/{username}/.ssh/id_rsa): failed to open stream: Permission denied

Solution

change the user in usr/local/etc/php-fpm.d/www.conf.

user = www-data

group = www-data

Leave a Reply

Back to top