Your WordPress file permissions do not allow plugins to be installed problem

Hi!

I’m completely in the dark how to resolve this issue. Everytime i click a plugin to install, i get the “Your WordPress file permissions do not allow plugins to be installed.” fault message.

It’s a fresh install using the latest version of X pro

I even tested with 777 file and directory settings. Changend Owner and Group. Nothing works.

Installing of other plugins outside X works fine with wtp credentials in WP.

Also uploading files to the media folder, no problem.

What can it be?

Thank you,

Lucas

Hi Lucas,

Thanks for writing in! Your issue seems to be directly related to server configuration issue probably caused by PHP running as the apache user (mod_php or CGI) rather than the user that owns your WordPress files (suPHP or FastCGI). You can ask your hosting provider to switch over to using suPHP or FastCGI would probably fix it.

As an alternative solution. could you please try adding your FTP credentials directly to your wp-config.php file, to bypass this issue. You can also read more information from here (https://codex.wordpress.org/Editing_wp-config.php#Override_of_default_file_permissions).

define( 'FTP_USER', 'replace_this_text_with_ftp_username' );
define( 'FTP_PASS', 'replace_this_text_with_ftp_password' );
define( 'FTP_HOST', 'ftp.your-site.com:21' );

You can add this before the following lines.

/* That’s all, stop editing! Happy blogging. */

If you’re still having any issues, add the following code fragments also into your wp-config.php file to set the correct file & directory permissions.

define('FS_CHMOD_FILE', 0755);
define('FS_CHMOD_DIR', 0644);

Hope that helps.
Thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.