M
M
macstuff2019-03-11 21:39:01
PHP
macstuff, 2019-03-11 21:39:01

How to solve the permissions issue when migrating from Apache to nginx+php-pfm?

Hey!
After switching from apache to FastCGI (Nginx + PHP-FPM), there was a problem with the plugin. There is no way to contact the developer, and on the exchanges no one contacts other people's plugins.
In which direction to dig?
The files in the folders are present, the rights are 755 folders 644 files.

Warning: file_put_contents(/var/www/www-root/data/www/example.ru/wp-content/plugins/wpk-n211088//views//cache/e570ba28acc5163c787405ba4f62ff890c5ce968.php): failed to open stream: Permission denied in /var/www/www-root/data/www/example.ru/wp-content/plugins/wpk-core/vendor/illuminate/filesystem/Filesystem.php on line 122

include(): Failed opening '/var/www/www-root/data/www/example.ru/wp-content/plugins/wpk-n211088//views//cache/e570ba28acc5163c787405ba4f62ff890c5ce968.php' for inclusion (include_path='.:/opt/php73/share/pear') in /var/www/www-root/data/www/example.ru/wp-content/plugins/wpk-core/vendor/illuminate/view/Engines/PhpEngine.php on line 43

imagettftext(): Could not find/open font in /var/www/www-root/data/www/example.ru/wp-content/plugins/wpk-core/libs/Utility/Image.php on line 72

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Softer, 2019-03-12
@Softer

See from whom PHP is running and give recursively the owner of /var/www/www-root

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question