Answer the question
In order to leave comments, you need to log in
Why is there no write access to the folder?
Hello!
I installed a "lamp" on CentOS 7 according to this instruction: https://losst.ru/ustanovka-lamp-v-centos-7
PHP scripts are executed, but php scripts do not have write permissions to folders and subfolders. I set the owner to apache:apache, I set the rights to the folders to 777 , selinux disabled it, but it still gives Permission denied.
Where to look and what to do?
Answer the question
In order to leave comments, you need to log in
Because that's the way PHP works.
Apache works fine with php-fpm.
As a last resort, you can choose FastCGI, Apache mpm-itk, mod_ruid2.
Is it necessary, when working with Apache, to set the value of the attribute "cgi.fix_pathinfo" to "0" in the "/etc/php/7.3/apache2/php.ini" file?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question