I
I
i_want_to_know_everything2017-02-07 09:36:14
FTP
i_want_to_know_everything, 2017-02-07 09:36:14

WordPress Ubuntu 16.10 file permissions?

on the directory permissions 755, plugins and downloads do not go, writes it was not possible to create a directory, or upload a file, wordpress, to which group the owner of the directory should be added with thief press, so that it would work without 777

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Yanchevsky, 2017-02-07
@deniscopro

See the user under which PHP is running. It must have write access to this directory in order for WordPress to work correctly. Or you can set up FTP and specify FTP connection details in WordPress.

M
Maxim Kudryavtsev, 2017-02-07
@kumaxim

What mode is PHP running in?
If mod_apache, then set wp-content/upload to 777 and everything will be OK.
If php-fpm, then you need to edit php.ini. See upload_tmp_dir option . It should be something like /path/to/user-home-folder/tmp Also check which user your php-fpm is running as.
As a third option, try setting permissions on /tmp to 777.
If all else fails, then add phpinfo() output to your question and include php.ini.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question