开发者

PHP configuration: are max_execution_time and max_input_time values measured in seconds?

开发者 https://www.devze.com 2023-01-14 08:42 出处:网络
I\'m checking my PHP configuration and I read max_execution_time 30 max_input_time 60 Are these seconds 开发者_JAVA百科or minutes ?

I'm checking my PHP configuration and I read

max_execution_time 30
max_input_time 60

Are these seconds 开发者_JAVA百科or minutes ?

If they are seconds and, let's say, I need to upload a file of 20MB with a php script (CMS).. it is usually not enough, right ?

thanks


Yes. That's right. You'd better to use FTP for uploading such big files. Your host might limit your upload size too (post_max_size).

max_execution_time does not include the time used for an upload. Please read this manual page on PHP.net

0

精彩评论

暂无评论...
验证码 换一张
取 消