Wordpress plugins Install/Update timeout

admin

Administrator
Staff member
I have been installing/updating my self-hosted Wordpress themes/plugins through FTP. ie get the link from my wordpress site, go download the plugin from wordpress.org, upload from my comp to the site through FTP.

I want to be able to update it through the wp admin interface instead, but it seems to timeout and the page just stops loading after a while. I can see half the files uploaded successfully through FTP. Is there a way around this?

Here is an example of what is shown on the screen:

<blockquote>
Installing Theme: DMS 1.0.3.6 Downloading install package from
<a href="https://wordpress.org/themes/download/dms.1.0.3.6.zip" rel="nofollow">https://wordpress.org/themes/download/dms.1.0.3.6.zip</a>…

Unpacking the package…

Installing the theme…
</blockquote>

1) I have added the WP_MEMORY_LIMIT in wp-config.php file with

<blockquote>
define('WP_MEMORY_LIMIT', '100M');
</blockquote>

Nothing happens.

2) I have added set_time_limit() to wp-config.php file

Code:
set_time_limit()

and this error occured

<blockquote>
Warning: set_time_limit() has been disabled for security reasons in
/home/<strong><em>*</em>*</strong>/public_html/wp-config.php on line 83
</blockquote>

3) I tried editing the .htaccess file, but that breaks the whole workpress installation and I end up seeing an error page instead.

Code:
AddType x-mapp-php5 .php
php_value upload_max_filesize 100M 
php_value post_max_size 100M
php_value memory_limit 100M

How can I install/update my plugins directly through the Wordpress User Interface? Is there a way around the timeout?

My webhost is www.000webhost.com btw.