; Generated by NMP - Configuration Editor engine = On SET PHP_FCGI_MAX_REQUESTS=0 zend.ze1_compatibility_mode = Off short_open_tag = On asp_tags = Off precision = 14 y2k_compliance = On ;output_buffering = 4096 zlib.output_compression = Off implicit_flush = Off unserialize_callback_func = serialize_precision = 100 allow_call_time_pass_reference = Off safe_mode_allowed_env_vars = PHP_ safe_mode_protected_env_vars = LD_LIBRARY_PATH ;safe_mode = On safe_mode_exec_dir="D:/WTServer/WWW/CID" open_basedir = "d:/wtserver" include_path = ".;d:/wtserver/include" disable_functions="allow_url_fopen, disk_free_space, diskfreespace, dl, escapeshellarg, escapeshellcmd, eval, exec, fp, fput, ftp_connect, ftp_exec, ftp_get, ftp_login, ftp_nb_fput, ftp_put, ftp_raw, ftp_rawlist, highlight_file, ini_alter, ini_get_all, ini_restore, inject_code, msg_receive, msg_send, openlog, passthru, pcntl_alarm, pcntl_exec, pcntl_fork, pcntl_get_last_error, pcntl_getpriority, pcntl_setpriority, pcntl_signal, pcntl_signal_dispatch, pcntl_sigprocmask, pcntl_sigtimedwait, pcntl_sigwaitinfo, pcntl_strerror, pcntl_wait, pcntl_waitpid, pcntl_wexitstatus, pcntl_wifexited, pcntl_wifsignaled, pcntl_wifstopped, pcntl_wstopsig, pcntl_wtermsig, php_uname, popen, posix_ctermid, posix_getgrgid, posix_getgrnam, posix_getlogin, posix_getpwuid, posix_kill, posix_mkfifo, posix_setegid, posix_seteuid, posix_setgid, posix_setpgid, posix_setsid, posix_setuid, posix_uname, proc_close, proc_get_status, proc_nice, proc_open, proc_terminate, putenv, sem_acquire, sem_get, shell_exec, shm_attach, shm_get_var, shm_p;ut_var, shm_remove, shmop_close, shmop_delete, shmop_open, shmop_write, show_source, symlink, syslog, system, xmlrpc_entity_decode" ; disable_classes = Reflection, ReflectionClass, ReflectionExtension, ReflectionFunction, ReflectionFunctionAbstract, ReflectionMethod, ReflectionObject, ReflectionParameter, ReflectionProperty, Reflector expose_php = Off max_execution_time = 10800 max_input_time = 10800 memory_limit = 2048M ;error_reporting = E_ALL & ~E_NOTICE ~E_DEPRECATED error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT & ~E_NOTICE display_errors = On display_startup_errors = Off log_errors = On log_errors_max_len = 1024 ignore_repeated_errors = Off ignore_repeated_source = Off report_memleaks = On track_errors = Off html_errors = On error_log = "d:/wtserver/log/php_error.log" mail.log = "d:/wtserver/log/php_mail.log" sendmail_from = "WTServer@localhost" sendmail_path = '"d:/wtserver/bin/msmtp/msmtp.exe" -C "d:/wtserver/conf/msmtp.ini" -t' variables_order = "GPCS" register_globals = Off register_long_arrays = Off register_argc_argv = Off auto_globals_jit = On post_max_size = 512M magic_quotes_gpc = Off magic_quotes_runtime = Off magic_quotes_sybase = Off auto_prepend_file = auto_append_file = default_mimetype = "text/html" doc_root = user_dir = cgi.fix_pathinfo = 0 file_uploads = On upload_tmp_dir = "d:/wtserver/tmp" upload_max_filesize = 512M max_file_uploads = 100 allow_url_fopen = On allow_url_include = Off default_socket_timeout = 1080 extension_dir = "ext" enable_dl = Off date.timezone = Asia/Bangkok define_syslog_variables = Off sql.safe_mode = Off mysql.allow_persistent = On mysql.max_persistent = -1 mysql.max_links = -1 mysql.default_port = 3306 mysql.default_host = "localhost" mysql.default_user = "root" mysql.default_password = mysql.connect_timeout = 60 mysql.trace_mode = Off mysqli.max_links = -1 mysqli.default_port = 3306 mysqli.default_host = "localhost" mysqli.default_user = "root" mysqli.default_pw = mysqli.reconnect = Off bcmath.scale = 0 session.save_handler = files session.save_path = "d:/wtserver/tmp" session.use_cookies = 1 session.name = PHPSESSID session.auto_start = 0 session.cookie_lifetime = 0 session.cookie_path = / session.cookie_domain = session.cookie_httponly = session.serialize_handler = php session.gc_probability = 15 session.gc_divisor = 100 session.gc_maxlifetime = 10800 session.bug_compat_42 = 0 session.bug_compat_warn = 1 session.referer_check = off session.entropy_length = 0 session.entropy_file = session.cache_limiter = nocache session.cache_expire = 240 session.use_trans_sid = 0 session.hash_function = 0 session.hash_bits_per_character = 5 url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry" tidy.clean_output = Off soap.wsdl_cache_enabled = 1 soap.wsdl_cache_dir = "d:/wtserver/tmp" soap.wsdl_cache_ttl = 86400 ;Extensions extension = php_bz2.dll extension = php_curl.dll extension = php_gd2.dll extension = php_imap.dll extension = php_intl.dll extension = php_mbstring.dll extension = php_exif.dll extension = php_soap.dll extension = php_sockets.dll extension = php_openssl.dll extension = php_fileinfo.dll ;Additional extensions from d:/wtserver/bin/PHP/php-x.x.x/ext ;extension = php_ftp.dll ;extension = php_gettext.dll ;extension = php_tidy.dll ;extension = php_xmlrpc.dll ;extension = php_xsl.dll ; Load igbinary extension ; Warning ! igbinary is unstable ! ; Igbinary is a drop in replacement for the standard php serializer ; https://github.com/igbinary/igbinary/ ;extension = php_igbinary.dll ; Enable or disable compacting of duplicate strings ; The default is On. ;igbinary.compact_strings=On ; Use igbinary as session serializer ;session.serialize_handler=igbinary ; Redis Cache / NoSql ; https://github.com/phpredis/phpredis#readme extension = php_redis.dll ; Uncomment to use redis as session storage: ;session.save_handler = redis ;session.save_path = "tcp://localhost:6379?weight=1" ;Database Extensions extension = php_mysqli.dll extension = php_pdo_mysql.dll ;extension = php_odbc.dll ;extension = php_pdo_odbc.dll ;extension = php_pgsql.dll ;extension = php_pdo_pgsql.dll ;extension = php_sqlite3.dll extension = php_pdo_sqlite.dll ; GeoIp Database. download and extract Binary databases to WTServer\data\ from ; http://dev.maxmind.com/geoip/legacy/geolite/ ;extension = "php_geoip.dll" geoip.custom_directory = "d:/wtserver/data" ; ImageMagick - first install image magick from http://www.imagemagick.org ;extension = "php_imagick.dll" ;OPCache ; OPCache PHP Extension: when enabled, only one php-cgi server can be safely started. Starting more PHP-CGI servers might return "Fatal Error Unable to reattach to base address" ;zend_extension = "php_opcache.dll" opcache.memory_consumption=128 opcache.interned_strings_buffer=8 opcache.max_accelerated_files=4000 opcache.revalidate_freq=60 opcache.fast_shutdown=1 opcache.enable_cli=1 ;If you want to use OPcache with » Xdebug, you must load OPcache before Xdebug. ;zend_extension = "php_xdebug.dll" ;XCache works only in PHP 5 !!! ; XCache is Not Available for PHP 7. Due to the limitations of php under windows, (only one process per CGI server, forcing WTServer Manager to start more php-cgi servers instead of starting one server with more processes), the XCache PHP Extension will use different shared memory buffers for each php-cgi server. This will use more memory and will make XCache Variable Cache inconsistent between php processes. If you intend relay on it, you should use --phpCgiServers=1. XCache Opcode Cache will not be affected, but it will waste memory. ;extension = "php_xcache.dll" xcache.admin.enable_auth = Off xcache.admin.user = "mOo" xcache.admin.pass = "" xcache.shm_scheme = "mmap" xcache.size = 32M xcache.count = 4 xcache.slots = 8K xcache.ttl = 3600 xcache.gc_interval = 600 xcache.var_size = 0 xcache.var_count = 4 xcache.var_slots = 8K xcache.var_ttl = 0 xcache.var_maxttl = 0 xcache.var_gc_interval = 300 xcache.var_namespace_mode = 0 xcache.var_namespace = "" xcache.readonly_protection = Off xcache.cacher = On xcache.stat = Off xcache.optimizer = Off xcache.coverager = Off xcache.coverager_autostart = Off