Error Installing Any Plugin in Plugin Gallery

i had try install plugin from plugin gallery but it say failed to copy plugin to destination of folder…

My error is attached below:-

  • PHP Warning: mkdir(): Permission denied
  • PHP Warning: mkdir(): No such file or directory in
  • Failed to open stream

Please, help me :frowning:

my folder been set to 755 … trying set to 777 but same error !

Hello @ikram89

You may try changing the owner of the ‘plugins’ folder recursively to the webserver user … tipically “www-data”

when you say your folder is been set to 777… which folder are you referring to?

tipically “www-data”

i was thinking cause of this too … but idk how to implement …

which folder are you referring to?

i refer to folder base on PHP log error…

any idea how to fix it ?

ls -ld /var/www/html/

drwxrwxr-x. 23 root root 4096 Oct 18 18:12 /var/www/html

it solved now… for centos it use “apache” instead of “www-data”

1 Like

Great to hear that it is solved!!.. :slight_smile: