U
U
User992018-06-03 10:27:05
Nginx
User99, 2018-06-03 10:27:05

How to give permission to write joomla configuration?

There are two sites, one fresh is only being built #1, the second is moved from the IIS server #2. when trying to log in to the admin panel of site No. 2, it writes an error cannot write to log file . and in the admin panel of site No. 1, when saving the parameters, the error Could not write to the configuration file.
on site #1:
-fixed the paths to the log, tmp folders in the configuration.php file - result 0
-granted permissions 777 -result 0
-tried to give permissions to the whole folder of the site -result 0
on site #2:
-granted permissions 777 -result 0
-tried to give rights to the whole folder of the site - result 0
created a group, added a user to the group, tried to add root to the same group and give full rights to folders - result 0
Maybe you need to give apache permissions? how can the situation be corrected? give permission like this chmod -R 777 /var/www/html/site1
in linuxe recently)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel Gruznykh, 2018-06-03
@pavelcarcass

Centos? Try running the following command in the server console:
Should help. And return the rights and owners to everything as it was, it is not worth giving 777 directories and site files.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question