Example of modifying the php. ini configuration file
- @ Ini_set ('memory _ limit ', '64m');/* Maximum memory size occupied by the script */
- @ Ini_set ('max _ execution_time ', '15');/* maximum script execution time */
- @ Ini_set ('post _ max_size ', '12m');/* Maximum form Upload size */
- @ Ini_set ('upload _ max_filesize ', '2m');/* Maximum upload size of a single file */
- @ Ini_set ('session. name', 'anhuizhaopin _ sessionid');/* sessionid name */
- @ Ini_set ('session. cookie_httponly ', '1');/* check whether the HTTPONLY attribute is added to the sessionid */
- @ Ini_set ('session. use_trans_sid ', '0');/* Do not try to get the sessionid from other places */
- @ Ini_set ('session. use_cookies ', '1');/* use cookies to pass sessionid */
- @ Ini_set ('session. auto_start ', '0');/* start session processing automatically */
- @ Ini_set ('session. cookie_lifetime ', '000000');/* session lifecycle */
- @ Ini_set ('session. gc_maxlifetime', '000000');/* gc time */
- @ Ini_set ('session. cache_expire ', '000000');/* client cache time */
- @ Ini_set ('File _ uploads ', '1');/* whether to enable file Upload */
- @ Ini_set ('upload _ tmp_dir ', 'f: \ tmp \');/* upload the file cache directory */
|