Effect of internet speed on PHP/MySQL execution -
in wordpress client creating large galleries (300+/- images) , using wordpress uploader reorder images. can filename, or numbers can applied , sorted ascending/descending etc
he has terrible internet connection speed , when makes edits file order won't execute correctly - images reordered, not how has specified. if him on internet connection works more or less fine - 95% of images reordered, not bad considering quantity (i've told him use smaller galleries!).
i'm novice on scripting , database interaction, seems me due poor connection not enough data sent before server closes request , executes. if assumption correct how go extending period of time server allows execute request using php or mysql configuration?
yes. can change max_execution_time
on php.ini. default 30 seconds
, request taking longer 30 seconds interrrupted.
it happens when try upload file php , uploader's upload speed pretty low exceeds execution duration. php stop , image corrupt.
there different ways change value. question has answers covering alternatives; increase max execution time php
also, keeping 350 images in single gallery overkill. use paginations.
Comments
Post a Comment