PHP.ini parameter explanation

Source: Internet
Author: User

Parameters

Set up

Description

file_uploads

on

Is it permissible to pass http switch to upload files. The default is on that is, open

upload_tmp_dir

files uploaded to the server where temporary files are stored, and if not specified, the system default Temp folder

upload_max_filesize

8m

Look at the business, that is, the maximum size allowed to upload files. The default is 2m

post_max_size

8m

refers to the form post php The maximum value that can be received, including all values in the form. The default is 8m

Description

generally, after setting the above four parameters, in the case of network normal, upload <=8m The file is not a problem

But if you want to upload >8m of large-volume files, only set the above four items will certainly be able to pass. Unless your network really has a 100m/s upload speed, you still have to set the following parameters.

Max_execution_time

600

each php The maximum time value for the page to run ( seconds , the default 30 seconds

max_input_time

600

each php The maximum time required for the page to receive data, default 60 seconds

Memory_limit

8m

each PHP maximum memory eaten by the page, default 8M


This article is from "Smile_ Youth" blog, please be sure to keep this source http://smileyouth.blog.51cto.com/7273768/1660528

PHP.ini parameter explanation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.