Install Scripts : PHPmyAdmin download Timeout !


I want ti install phpmyadmin on hosts , but I have this error :

Failed to install script : Download of failed : Download timed out.

This while I ping phpmyadmin site.

please help,

pic this status :

thank you

So this is and old story for PHP scripts. What it is “overall”, is the defaults (in most any setup I have used), are much too low to run any script for any length of time or file size. For example if you run Magetno and/or PhpMyAdmin you will get this all the time. In short you will have to set you php.ini’s (3 in Webmin/Virtualmin) to use greater file size and time. In the php.ini most lines will have an expression like “Max or Limit”.

An example would be;

; Resource Limits ;

max_execution_time = 360
upload_max_filesize = 512M
post_max_size = 512M
memory_limit = 512M
max_input_vars = 8000
session.gc_maxlifetime = 86400

CautionYou might find the above more then your system has resources for. Not enough RAM and/or CPU cores. Perhaps start at something more reasonable like 128 MB at a time!
Where time is in seconds, so 3600 divided by 60 would be an hour. (note my max_, file and post are the same as one could limit the other). Memory_limit is how much memory you want to reserve/expend for the process. Linux is case sensitive so the upper case “M” is important!

The “session.gc_maxlifetime = 86400” you probably don’t want as I set this because late at nigh I got tired and went to bed and this setup the session time for ever ( 24 hours) so it would be the same when I woke up (Just Lazy, I suppose).