Hello,
I changed the permissions with this code (to fix another problem).
chown -R root /var/www
Except now I can no longer install wordpress, I can no longer change php version etc.
Here is for example the error message when I want to install wordpress:
cp: impossible to create the standard file “/home/atsrenovation/public_html/index.php”: Permission not granted
cp: impossible to create the standard file “/home/atsrenovation/public_html/license.txt”: Permission not granted
cp: impossible to create the standard file “/home/atsrenovation/public_html/readme.html”: Permission not granted
cp: impossible to create the standard file “/home/atsrenovation/public_html/wp-activate.php”: Permission not granted
… (with other similar lines)
When I want to switch from php 7.1 to 7.3 I have this message :
Failed to save PHP versions : Failed to open /home/atsrenovation/fcgi-bin/php5.fcgi.webmintmp.54199 : Permission denied
I try this code :
chown -R www-data /var/www
But it didn’t change anything.
Can you help me, please?
Thanks in advance.