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

I check my PHP configuration and I read

max_execution_time 30
max_input_time 60

Are these seconds or minutes?

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

thank

+3
source share
1 answer

Yes. This is true. You better use FTP to upload such large files. Your host may also limit your upload size (post_max_size).

max_execution_timedoes not include boot time. Please read this man page on PHP.net

+2
source

Source: https://habr.com/ru/post/1762256/


All Articles