Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1088345
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T23:03:34+00:00 2026-05-16T23:03:34+00:00

Can I set the following PHP configuration parameters as follows: max_execution_time = 360 max_input_time

  • 0

Can I set the following PHP configuration parameters as follows:

max_execution_time = 360
max_input_time 360

Is that safe and efficient ?

I actually need my user to upload large videos with the php-based Content Management System.

So, each video upload takes some minutes. Do I need to change both and the values are good ?

thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T23:03:34+00:00Added an answer on May 16, 2026 at 11:03 pm

    In my understanding, you have to change neither.

    If you just store the video files using move_uploaded_file, you will not need to increase your max_execution_time as upload time does not count towards execution time.

    The manual says the following about max_input_time (emphasis mine):

    This sets the maximum time in seconds a script is allowed to parse input data, like POST, GET and file uploads.

    I have not tested this, but to me this sounds like it doesn’t include the actual time the client spends uploading the file, just the time it takes to copy it to the temporary directory. I can’t vouch for this though, and I can’t find any info on it. The default of 60 seconds should be ample time to parse many hundreds of megabytes of files.

    I’d recommend to find out the perfect value using real-life tests. If your connection is too fast, use a tool to slow it down. See this SO question for suggestions:

    Network tools that simulate slow network connection

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following PHP code that I can't seem to get working. I
I can set the PHP include path in the php.ini : include_path = /path/to/site/includes/
In Vim I can :set wrapscan so that when I do an incremental search,
I have the following configuration set in my factories.yml file... all: mailer: param: transport:
In a PHP module, We have a few graphics made by GD that need
I have the following php script that allows me perform some calls to other
I need to solve the following question which i can't get to work by
I can set data in JTable constructor, and then user can change this data
I can set the minimum version required (for example XP SP3) in Inno-Setup by
How can I set the flag FILE_FLAG_BACKUP_SEMANTICS for an fstream object? You can set

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.