safe_mode = Off ;not everything works with safe mode max_execution_time = 300 ; Maximum execution time of each script, in seconds max_input_time = 120 ; Maximum amount of time each script may spend parsing request data memory_limit = 8M ; Maximum amount of memory a script may consume (8MB) error_reporting = E_ALL & ~E_NOTICE ;Normal operating mode. Set to E_ALL if you need to debug display_errors = OFF ;Normal operating mode. Set to ON only if you need to debug. display_startup_errors = OFF ;Normal operating mode. Set to ON only if you need to debug. log_errors = On error_log = C:\TEMP\PHP.LOG ;I write errors to a log file. This file MUST be in a folder writeable from all websites. post_max_size = 32M ;Max size of messages and files that can be posted by PHP in Meg. extension_dir = "C:\PHP" ;Assuming you have copied your extensions into C:\PHP like I told you to cgi.force_redirect = 0 ;Must be turned off for IIS. file_uploads = On ;If you want users to be able to upload files using PHP scripts. upload_tmp_dir = "C:\TEMP" ;Path must be in a folder writeable from all websites. upload_max_filesize = 32M ;Max file size that can be uploaded. register_globals = On session.bug_compat_42 = 1 session.gc_probability = 1 session.gc_divisor = 100 session.gc_maxlifetime = 1440 session.save_path = c:\temp ;note this path will be different if you are on a linux box session.bug_compat_warn = 1 session.save_handler = files session.use_cookies = 1
Friday, September 20, 2013
Configure PHP.INI settings for a Windows based server | Kayako Community Forums
Configure PHP.INI settings for a Windows based server | Kayako Community Forums:
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment