PHP Warning: touch(): Utime failed: Permission denied in


You might be having some troubles with file permissions!
I’m setting a new small vps for some tests and I got this…

/var/log/php-fpm/www-error.log

PHP Warning: touch(): Unable to create file ./cache/index.html because Permission denied in


Centos 7
nginx
PHP 7.3.3 PHP-FPM

My PHP-FPM running under apache user instead of nginx on /etc/php-fpm.d/www.conf

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.