I have a problem installing plugins on shared hosting.
When I try to install plugins recommended by a theme via the admin interface the process starts, outputs the message 'Unpacking package' twice (loose translation - could be a bit different in english) but the installation process never finishes - regardless if I try bulk install or single install.
The plugin ends up in the
wp-content/upgrade folder but doesn't move from there. I tried to set permissions on the
wp-content/plugins directory to 755, 766, and even 777 but the problem seems to persist.
Wordpress tries to install plugins via FTP. In my
wp-config.php file I tried putting:
define('WP_DEBUG', true); // Does not produce errors on frontend define('WP_DEBUG_LOG', true); // Does not create a log file with errors define('WP_MEMORY_LIMIT', '64M'); /** Following can be substituted by real values but the few seconds of time saved are not worth the vulnerabilty it causes. Should NOT be used on shared hosting due to security concerns. */ define("FTP_USER", "ftp_username"); define("FTP_PASS", "ftp_passs");
define('FS_METHOD', 'direct'); doesn't seem to be a good option here because the files would end up being owned by the server.
There are no errors on fronted the process just never finishes. Any ideas on what be causing this?