Change the php.ini configuration

Source: Internet
Author: User

Vi/etc/php.ini #编辑修改

@ini_set (' Memory_limit ', ' 64M '); /* Script Max memory size */
@ini_set (' max_execution_time ', ' 15 '); /* Maximum execution time of script */
@ini_set (' post_max_size ', ' 12M '); /* Maximum upload size for form */
@ini_set (' upload_max_filesize ', ' 2M '); /* Maximum upload size for individual files */
@ini_set (' Session.name ', ' Anhuizhaopin_sessionid '); /* SessionID's name */
@ini_set (' session.cookie_httponly ', ' 1 '); /* SessionID Add httponly Property */
@ini_set (' session.use_trans_sid ', ' 0 '); /* Do not try to get sessionid from Elsewhere */
@ini_set (' session.use_cookies ', ' 1 '); /* Use cookies to pass SessionID */
@ini_set (' Session.auto_start ', ' 0 '); /* Do not start session processing automatically */
@ini_set (' session.cookie_lifetime ', ' 3600 '); /* Life cycle of Session */
@ini_set (' session.gc_maxlifetime ', ' 3600 '); /* GC Time */
@ini_set (' Session.cache_expire ', ' 180 '); /* Client Cache time */
@ini_set (' file_uploads ', ' 1 '); /* Whether to enable uploading of files */
@ini_set (' Upload_tmp_dir ', ' f:\\tmp\\ '); /* Upload File cache directory */

Change the php.ini configuration

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.