19 |
20 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # mailwizz-nginx-seo
2 | [paypal]: https://paypal.me/GerdNaschenweng
3 | 
4 |
5 | ___
6 | :beer: **Please support me**: Although all my software is free, it is always appreciated if you can support my efforts on Github with a [contribution via Paypal][paypal] - this allows me to write cool projects like this in my personal time and hopefully help you or your business.
7 | ___
8 |
9 | MailWizz nginx example with search-engine friendly URLs - this has been tested with MailWizz 1.3.6.x running on CentOS 7 with nginx/1.6.3
10 |
11 | The nginx configuration includes:
12 | - SSL and non SSL config
13 | - PHP FPM
14 | - Support for tracking domains
15 | - SSL configuration with SSL stapling and tuning
16 | - Gzip compression
17 | - Security configuration
18 | - Turn off access to hidden files and sensitive context
19 | - XSS configuration to enforce SAMEORIGIN
20 | - Limiting buffer overflow issues
21 | - Restricting request methods
22 | - CSP in reporting mode (ensure that you register with report-uri.io / or remove)
23 | - Remove logging of favicon.ico and robots.txt
24 | - Custom error pages for nginx (those could be much better)
25 | - Cache control for media images, dynamic data and CSS/JavaScript
26 |
27 | Included MySQL configuration and php.ini settings for a MailWizz system running on CentOS7, MySQL 5.7.12, nginx on a 4-core, 10GB single-server.
28 |
29 | ## Sessions via PHP-FPM
30 | PHP-FPM by default writes sessions into the /var/lib/php directory and I personally do not like assigning nginx permissions to it (since MailWizz stores session info). I have therefore adjusted PHP-FPM config to have it's own directory.
31 |
32 | You will need to run this (or adjust /etc/php-fpm.d/www.conf):
33 | ```
34 | mkdir -p /var/lib/nginx/session
35 | mkdir -p /var/lib/nginx/wsdlcache
36 | chown -R nginx:nginx /var/lib/nginx
37 | ```
38 |
39 | ## About SSL-stapling
40 | I use Thawte SSL123 certs and you will notice in the SSL configuration a reference to `ssl_trusted_certificate /etc/pki/tls/certs/combined-certs.crt;`. I suggest you read up about SSL stapling first: https://raymii.org/s/tutorials/OCSP_Stapling_on_nginx.html.
41 |
42 | The `ssl_trusted_certificate` needs to be in a specific order, and this worked for me (copy each cert in this sequence into the file):
43 | - The Webserver certificate - this is the cert for the domain and will be included in the SSL cert order email
44 | - The intermediate CA - this will also be included in the SSL cert order email
45 | - The primary root CA - for SSL123 Thawte it can be obtained from here: https://www.thawte.com/roots/thawte_Primary_Root_CA.pem
46 |
47 | You can then test the SSL stapling via:
48 | ```
49 | openssl s_client -connect yourdomain.com:443 -tls1 -tlsextdebug -status
50 | ```
51 | Which will output something like this:
52 | ```
53 | ----
54 | ...
55 | OCSP response:
56 | ======================================
57 | OCSP Response Data:
58 | OCSP Response Status: successful (0x0)
59 | Response Type: Basic OCSP Response
60 | ...
61 | ----
62 | ```
63 |
64 |
65 | ## Donations are always welcome
66 |
67 | [paypal]: https://paypal.me/GerdNaschenweng
68 |
69 | 🍻 **Support my work**
70 | All my software is free and built in my personal time. If it helps you or your business, please consider a small donation via [PayPal][paypal] — it keeps the coffee ☕ and ideas flowing!
71 |
72 | 💸 **Crypto Donations**
73 | You can also send crypto to one of the addresses below:
74 |
75 | ```
76 | (CRO) 0xb83c3Fe378F5224fAdD7a0f8a7dD33a6C96C422C (Cronos)
77 | (USDC) 0xb83c3Fe378F5224fAdD7a0f8a7dD33a6C96C422C (ERC20)
78 | (ETH) 0xfc316ba7d8dc325250f1adfafafc320ad75d87c0
79 | (BNB) 0xfc316ba7d8dc325250f1adfafafc320ad75d87c0
80 | (BTC) bc1q24fuw84l6whm20umlr56nvqjn908sec8pavk3z
81 | Crypto.com PayString: magicdude$paystring.crypto.com
82 | ```
83 |
84 | 🧾 **Recommended Platforms**
85 | - 👉 [Curve.com](https://www.curve.com/join#DWPXKG6E): Add your Crypto.com card to Apple Pay
86 | - 🔐 [Crypto.com](https://crypto.com/app/ref6ayzqvp): Stake and get your free Crypto Visa card
87 | - 📈 [Binance](https://accounts.binance.com/register?ref=13896895): Trade altcoins easily
--------------------------------------------------------------------------------
/etc/nginx/conf.d/includes/mailwizz-generic.conf:
--------------------------------------------------------------------------------
1 | # For more information on configuration, see:
2 | # * Official English Documentation: http://nginx.org/en/docs/
3 |
4 | ######################################################################
5 | # Generic Mailwizz configuration which applies to both HTTP and HTTPS
6 | ######################################################################
7 |
8 | ######################################################################
9 | # Logging
10 | ######################################################################
11 |
12 | access_log /var/log/nginx/campaign.domain.com.access.log logstash;
13 | error_log /var/log/nginx/campaign.domain.com.error.log;
14 |
15 | root /var/www/html/mailwizz;
16 | index index.php index.html index.htm;
17 | charset utf-8;
18 |
19 | # Load configuration files for the default server block.
20 | include /etc/nginx/default.d/*.conf;
21 |
22 | ######################################################################
23 | # SECURITY - Deny all attempts to access hidden files such as .htaccess, .htpasswd, .DS_Store (Mac).
24 | ######################################################################
25 | location ~ /\. {
26 | deny all;
27 | access_log off; log_not_found off;
28 | }
29 |
30 | # Make sure files with the following extensions do not get loaded by nginx because nginx would display the source code, and these files can contain PASSWORDS!
31 | location ~* \.(engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)$|^(\..*|Entries.*|Repository|Root|Tag|Template)$|\.php_ {
32 | deny all;
33 | }
34 |
35 | # Deny access to internal files.
36 | location ~ ^/(apps/) {
37 | deny all;
38 | }
39 |
40 | ######################################################################
41 | # SECURITY - don't send the nginx version number in error pages and Server header
42 | ######################################################################
43 | server_tokens off;
44 |
45 | ######################################################################
46 | # SECURITY - XSS
47 | ######################################################################
48 | add_header X-Frame-Options "SAMEORIGIN";
49 | add_header X-Content-Type-Options nosniff;
50 | add_header X-XSS-Protection "1; mode=block";
51 |
52 | ######################################################################
53 | # SECURITY - Size limits & buffer overflow
54 | ######################################################################
55 | client_body_buffer_size 1k;
56 | client_header_buffer_size 1k;
57 | client_max_body_size 20m;
58 | large_client_header_buffers 4 8k;
59 |
60 | ######################################################################
61 | # SECURITY - Enable CSP in reporting mode
62 | ######################################################################
63 | add_header Content-Security-Policy-Report-Only "default-src 'self';
64 | script-src 'self' *.campaign.com www.google-analytics.com https://maps.google.com https://maps.googleapis.com https://rawgit.com 'unsafe-eval' 'unsafe-inline';
65 | img-src 'self' www.google-analytics.com https://maps.googleapis.com https://maps.gstatic.com https://csi.gstatic.com https://rawgit.com http://campaign.domain.com https://www.gravatar.com data:;
66 | style-src 'self' fonts.googleapis.com 'unsafe-inline';
67 | font-src 'self' fonts.googleapis.com fonts.gstatic.com data:;
68 | form-action 'self';
69 | object-src 'self';
70 | connect-src 'self';
71 | child-src 'self';
72 | report-uri https://YOUR-DOMAIN-REGISTER-IT.report-uri.io/r/default/csp/reportOnly;";
73 |
74 |
75 | ######################################################################
76 | # Control logging
77 | ######################################################################
78 | location = /favicon.ico { access_log off; log_not_found off; }
79 | location = /robots.txt { access_log off; log_not_found off; allow all; }
80 |
81 | ######################################################################
82 | # Custom Error pages
83 | ######################################################################
84 | error_page 403 404 405 /error/404.html;
85 | error_page 500 502 503 504 /error/500.html;
86 |
87 | location ^~ /error/ {
88 | internal;
89 | root /var/www/html/mailwizz_static/;
90 | }
91 |
92 | location ^~ /static/ {
93 | root /var/www/html/mailwizz_static/;
94 | }
95 |
96 | ######################################################################
97 | # Handle the various MailWizz rewrites and application specific settings
98 | ######################################################################
99 | # -- Cache media images and turn off logging to access log
100 | location ~ \.(gif|png|swf|js|ico|cur|css|jpg|jpeg|txt|mp3|mp4|ogg|ogv|webm|wav|ttf|woff|eot|svg)$ {
101 | expires 30d;
102 | add_header Cache-Control "public";
103 | access_log off;
104 | }
105 |
106 | # -- Do not cache document html and data
107 | location ~ \.(?:manifest|appcache|html?|xml|json)$ {
108 | expires -1;
109 | }
110 |
111 | # -- Cache CSS and Javascript
112 | location ~* \.(?:css|js)$ {
113 | expires 2d;
114 | add_header Cache-Control "public";
115 | }
116 |
117 | # --- Rewrite newsletters
118 | rewrite ^/lists/([a-z0-9]+)/update-profile/([a-z0-9]+)$ http://www.bidorbuy.co.za/jsp/newsletters/NewsletterSignUp.jsp last;
119 |
120 | # --- Mailwizz
121 | location /api {
122 | if ($request_method !~ ^(GET|HEAD|POST|PUT|DELETE)$ ) {
123 | return 405;
124 | }
125 | try_files $uri $uri/ /api/index.php?$args;
126 | }
127 | location /backend {
128 | if ($request_method !~ ^(GET|HEAD|POST|)$ ) {
129 | return 405;
130 | }
131 | try_files $uri $uri/ /backend/index.php?$args;
132 | }
133 | location /customer {
134 | if ($request_method !~ ^(GET|HEAD|POST|)$ ) {
135 | return 405;
136 | }
137 | try_files $uri $uri/ /customer/index.php?$args;
138 | }
139 | location / {
140 | if ($request_method !~ ^(GET|HEAD|POST|)$ ) {
141 | return 405;
142 | }
143 | try_files $uri $uri/ /index.php?$args;
144 | }
145 |
146 | # -- Pass off to FastCGI processor
147 | location ~ (index\.php|tiny_mce_gzip\.php)$ {
148 | fastcgi_pass unix:/var/run/php-fpm/php-fpm.sock;
149 |
150 | fastcgi_index index.php;
151 | fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
152 | fastcgi_param PATH_INFO $fastcgi_script_name;
153 | fastcgi_intercept_errors on;
154 |
155 | include fastcgi_params;
156 |
157 | fastcgi_buffer_size 128k;
158 | fastcgi_buffers 256 16k;
159 | fastcgi_busy_buffers_size 256k;
160 | fastcgi_temp_file_write_size 256k;
161 | fastcgi_read_timeout 240;
162 |
163 | }
164 |
165 | # -- Deny access to .htaccess files, if Apache's document root concurs with nginx's one
166 | location ~ /\.ht {
167 | deny all;
168 | }
169 |
--------------------------------------------------------------------------------
/etc/php-fpm.d/www.conf:
--------------------------------------------------------------------------------
1 | ; Start a new pool named 'www'.
2 | [www]
3 |
4 | ; The address on which to accept FastCGI requests.
5 | ; Valid syntaxes are:
6 | ; 'ip.add.re.ss:port' - to listen on a TCP socket to a specific address on
7 | ; a specific port;
8 | ; 'port' - to listen on a TCP socket to all addresses on a
9 | ; specific port;
10 | ; '/path/to/unix/socket' - to listen on a unix socket.
11 | ; Note: This value is mandatory.
12 | listen = /var/run/php-fpm/php-fpm.sock
13 |
14 | ; Set listen(2) backlog. A value of '-1' means unlimited.
15 | ; Default Value: -1
16 | ;listen.backlog = -1
17 |
18 | ; List of ipv4 addresses of FastCGI clients which are allowed to connect.
19 | ; Equivalent to the FCGI_WEB_SERVER_ADDRS environment variable in the original
20 | ; PHP FCGI (5.2.2+). Makes sense only with a tcp listening socket. Each address
21 | ; must be separated by a comma. If this value is left blank, connections will be
22 | ; accepted from any ip address.
23 | ; Default Value: any
24 | listen.allowed_clients = 127.0.0.1
25 |
26 | ; Set permissions for unix socket, if one is used. In Linux, read/write
27 | ; permissions must be set in order to allow connections from a web server. Many
28 | ; BSD-derived systems allow connections regardless of permissions.
29 | ; Default Values: user and group are set as the running user
30 | ; mode is set to 0666
31 | listen.owner = nobody
32 | listen.group = nobody
33 | listen.mode = 0666
34 |
35 | ; Unix user/group of processes
36 | ; Note: The user is mandatory. If the group is not set, the default user's group
37 | ; will be used.
38 | ; RPM: apache Choosed to be able to access some dir as httpd
39 | user = nginx
40 | ; RPM: Keep a group allowed to write in log dir.
41 | group = nginx
42 |
43 | ; Choose how the process manager will control the number of child processes.
44 | ; Possible Values:
45 | ; static - a fixed number (pm.max_children) of child processes;
46 | ; dynamic - the number of child processes are set dynamically based on the
47 | ; following directives:
48 | ; pm.max_children - the maximum number of children that can
49 | ; be alive at the same time.
50 | ; pm.start_servers - the number of children created on startup.
51 | ; pm.min_spare_servers - the minimum number of children in 'idle'
52 | ; state (waiting to process). If the number
53 | ; of 'idle' processes is less than this
54 | ; number then some children will be created.
55 | ; pm.max_spare_servers - the maximum number of children in 'idle'
56 | ; state (waiting to process). If the number
57 | ; of 'idle' processes is greater than this
58 | ; number then some children will be killed.
59 | ; Note: This value is mandatory.
60 | pm = dynamic
61 |
62 | ; The number of child processes to be created when pm is set to 'static' and the
63 | ; maximum number of child processes to be created when pm is set to 'dynamic'.
64 | ; This value sets the limit on the number of simultaneous requests that will be
65 | ; served. Equivalent to the ApacheMaxClients directive with mpm_prefork.
66 | ; Equivalent to the PHP_FCGI_CHILDREN environment variable in the original PHP
67 | ; CGI.
68 | ; Note: Used when pm is set to either 'static' or 'dynamic'
69 | ; Note: This value is mandatory.
70 | pm.max_children = 50
71 |
72 | ; The number of child processes created on startup.
73 | ; Note: Used only when pm is set to 'dynamic'
74 | ; Default Value: min_spare_servers + (max_spare_servers - min_spare_servers) / 2
75 | pm.start_servers = 5
76 |
77 | ; The desired minimum number of idle server processes.
78 | ; Note: Used only when pm is set to 'dynamic'
79 | ; Note: Mandatory when pm is set to 'dynamic'
80 | pm.min_spare_servers = 5
81 |
82 | ; The desired maximum number of idle server processes.
83 | ; Note: Used only when pm is set to 'dynamic'
84 | ; Note: Mandatory when pm is set to 'dynamic'
85 | pm.max_spare_servers = 35
86 |
87 | ; The number of requests each child process should execute before respawning.
88 | ; This can be useful to work around memory leaks in 3rd party libraries. For
89 | ; endless request processing specify '0'. Equivalent to PHP_FCGI_MAX_REQUESTS.
90 | ; Default Value: 0
91 | ;pm.max_requests = 500
92 |
93 | ; The URI to view the FPM status page. If this value is not set, no URI will be
94 | ; recognized as a status page. By default, the status page shows the following
95 | ; information:
96 | ; accepted conn - the number of request accepted by the pool;
97 | ; pool - the name of the pool;
98 | ; process manager - static or dynamic;
99 | ; idle processes - the number of idle processes;
100 | ; active processes - the number of active processes;
101 | ; total processes - the number of idle + active processes.
102 | ; The values of 'idle processes', 'active processes' and 'total processes' are
103 | ; updated each second. The value of 'accepted conn' is updated in real time.
104 | ; Example output:
105 | ; accepted conn: 12073
106 | ; pool: www
107 | ; process manager: static
108 | ; idle processes: 35
109 | ; active processes: 65
110 | ; total processes: 100
111 | ; By default the status page output is formatted as text/plain. Passing either
112 | ; 'html' or 'json' as a query string will return the corresponding output
113 | ; syntax. Example:
114 | ; http://www.foo.bar/status
115 | ; http://www.foo.bar/status?json
116 | ; http://www.foo.bar/status?html
117 | ; Note: The value must start with a leading slash (/). The value can be
118 | ; anything, but it may not be a good idea to use the .php extension or it
119 | ; may conflict with a real PHP file.
120 | ; Default Value: not set
121 | ;pm.status_path = /status
122 |
123 | ; The ping URI to call the monitoring page of FPM. If this value is not set, no
124 | ; URI will be recognized as a ping page. This could be used to test from outside
125 | ; that FPM is alive and responding, or to
126 | ; - create a graph of FPM availability (rrd or such);
127 | ; - remove a server from a group if it is not responding (load balancing);
128 | ; - trigger alerts for the operating team (24/7).
129 | ; Note: The value must start with a leading slash (/). The value can be
130 | ; anything, but it may not be a good idea to use the .php extension or it
131 | ; may conflict with a real PHP file.
132 | ; Default Value: not set
133 | ;ping.path = /ping
134 |
135 | ; This directive may be used to customize the response of a ping request. The
136 | ; response is formatted as text/plain with a 200 response code.
137 | ; Default Value: pong
138 | ;ping.response = pong
139 |
140 | ; The timeout for serving a single request after which the worker process will
141 | ; be killed. This option should be used when the 'max_execution_time' ini option
142 | ; does not stop script execution for some reason. A value of '0' means 'off'.
143 | ; Available units: s(econds)(default), m(inutes), h(ours), or d(ays)
144 | ; Default Value: 0
145 | request_terminate_timeout = 600
146 |
147 | ; The timeout for serving a single request after which a PHP backtrace will be
148 | ; dumped to the 'slowlog' file. A value of '0s' means 'off'.
149 | ; Available units: s(econds)(default), m(inutes), h(ours), or d(ays)
150 | ; Default Value: 0
151 | ;request_slowlog_timeout = 0
152 |
153 | ; The log file for slow requests
154 | ; Default Value: not set
155 | ; Note: slowlog is mandatory if request_slowlog_timeout is set
156 | slowlog = /var/log/php-fpm/www-slow.log
157 |
158 | ; Set open file descriptor rlimit.
159 | ; Default Value: system defined value
160 | ;rlimit_files = 1024
161 |
162 | ; Set max core size rlimit.
163 | ; Possible Values: 'unlimited' or an integer greater or equal to 0
164 | ; Default Value: system defined value
165 | ;rlimit_core = 0
166 |
167 | ; Chroot to this directory at the start. This value must be defined as an
168 | ; absolute path. When this value is not set, chroot is not used.
169 | ; Note: chrooting is a great security feature and should be used whenever
170 | ; possible. However, all PHP paths will be relative to the chroot
171 | ; (error_log, sessions.save_path, ...).
172 | ; Default Value: not set
173 | ;chroot =
174 |
175 | ; Chdir to this directory at the start. This value must be an absolute path.
176 | ; Default Value: current directory or / when chroot
177 | ;chdir = /var/www
178 |
179 | ; Redirect worker stdout and stderr into main error log. If not set, stdout and
180 | ; stderr will be redirected to /dev/null according to FastCGI specs.
181 | ; Default Value: no
182 | ;catch_workers_output = yes
183 |
184 | ; Limits the extensions of the main script FPM will allow to parse. This can
185 | ; prevent configuration mistakes on the web server side. You should only limit
186 | ; FPM to .php extensions to prevent malicious users to use other extensions to
187 | ; exectute php code.
188 | ; Note: set an empty value to allow all extensions.
189 | ; Default Value: .php
190 | ;security.limit_extensions = .php .php3 .php4 .php5
191 |
192 | ; Pass environment variables like LD_LIBRARY_PATH. All $VARIABLEs are taken from
193 | ; the current environment.
194 | ; Default Value: clean env
195 | ;env[HOSTNAME] = $HOSTNAME
196 | ;env[PATH] = /usr/local/bin:/usr/bin:/bin
197 | ;env[TMP] = /tmp
198 | ;env[TMPDIR] = /tmp
199 | ;env[TEMP] = /tmp
200 |
201 | ; Additional php.ini defines, specific to this pool of workers. These settings
202 | ; overwrite the values previously defined in the php.ini. The directives are the
203 | ; same as the PHP SAPI:
204 | ; php_value/php_flag - you can set classic ini defines which can
205 | ; be overwritten from PHP call 'ini_set'.
206 | ; php_admin_value/php_admin_flag - these directives won't be overwritten by
207 | ; PHP call 'ini_set'
208 | ; For php_*flag, valid values are on, off, 1, 0, true, false, yes or no.
209 |
210 | ; Defining 'extension' will load the corresponding shared extension from
211 | ; extension_dir. Defining 'disable_functions' or 'disable_classes' will not
212 | ; overwrite previously defined php.ini values, but will append the new value
213 | ; instead.
214 |
215 | ; Default Value: nothing is defined by default except the values in php.ini and
216 | ; specified at startup with the -d argument
217 | ;php_admin_value[sendmail_path] = /usr/sbin/sendmail -t -i -f www@my.domain.com
218 | ;php_flag[display_errors] = off
219 | php_admin_value[error_log] = /var/log/php-fpm/www-error.log
220 | php_admin_flag[log_errors] = on
221 | ;php_admin_value[memory_limit] = 128M
222 |
223 | ; Set session path to a directory owned by process user
224 | php_value[session.save_handler] = files
225 | php_value[session.save_path] = /var/lib/nginx/session
226 | php_value[soap.wsdl_cache_dir] = /var/lib/nginx/wsdlcache
227 |
228 |
--------------------------------------------------------------------------------
/etc/php.ini:
--------------------------------------------------------------------------------
1 | [PHP]
2 |
3 | ;;;;;;;;;;;;;;;;;;;
4 | ; About php.ini ;
5 | ;;;;;;;;;;;;;;;;;;;
6 | ; PHP's initialization file, generally called php.ini, is responsible for
7 | ; configuring many of the aspects of PHP's behavior.
8 |
9 | ; PHP attempts to find and load this configuration from a number of locations.
10 | ; The following is a summary of its search order:
11 | ; 1. SAPI module specific location.
12 | ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
13 | ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
14 | ; 4. Current working directory (except CLI)
15 | ; 5. The web server's directory (for SAPI modules), or directory of PHP
16 | ; (otherwise in Windows)
17 | ; 6. The directory from the --with-config-file-path compile time option, or the
18 | ; Windows directory (C:\windows or C:\winnt)
19 | ; See the PHP docs for more specific information.
20 | ; http://php.net/configuration.file
21 |
22 | ; The syntax of the file is extremely simple. Whitespace and lines
23 | ; beginning with a semicolon are silently ignored (as you probably guessed).
24 | ; Section headers (e.g. [Foo]) are also silently ignored, even though
25 | ; they might mean something in the future.
26 |
27 | ; Directives following the section heading [PATH=/www/mysite] only
28 | ; apply to PHP files in the /www/mysite directory. Directives
29 | ; following the section heading [HOST=www.example.com] only apply to
30 | ; PHP files served from www.example.com. Directives set in these
31 | ; special sections cannot be overridden by user-defined INI files or
32 | ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
33 | ; CGI/FastCGI.
34 | ; http://php.net/ini.sections
35 |
36 | ; Directives are specified using the following syntax:
37 | ; directive = value
38 | ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
39 | ; Directives are variables used to configure PHP or PHP extensions.
40 | ; There is no name validation. If PHP can't find an expected
41 | ; directive because it is not set or is mistyped, a default value will be used.
42 |
43 | ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
44 | ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
45 | ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
46 | ; previously set variable or directive (e.g. ${foo})
47 |
48 | ; Expressions in the INI file are limited to bitwise operators and parentheses:
49 | ; | bitwise OR
50 | ; ^ bitwise XOR
51 | ; & bitwise AND
52 | ; ~ bitwise NOT
53 | ; ! boolean NOT
54 |
55 | ; Boolean flags can be turned on using the values 1, On, True or Yes.
56 | ; They can be turned off using the values 0, Off, False or No.
57 |
58 | ; An empty string can be denoted by simply not writing anything after the equal
59 | ; sign, or by using the None keyword:
60 |
61 | ; foo = ; sets foo to an empty string
62 | ; foo = None ; sets foo to an empty string
63 | ; foo = "None" ; sets foo to the string 'None'
64 |
65 | ; If you use constants in your value, and these constants belong to a
66 | ; dynamically loaded extension (either a PHP extension or a Zend extension),
67 | ; you may only use these constants *after* the line that loads the extension.
68 |
69 | ;;;;;;;;;;;;;;;;;;;
70 | ; About this file ;
71 | ;;;;;;;;;;;;;;;;;;;
72 | ; PHP comes packaged with two INI files. One that is recommended to be used
73 | ; in production environments and one that is recommended to be used in
74 | ; development environments.
75 |
76 | ; php.ini-production contains settings which hold security, performance and
77 | ; best practices at its core. But please be aware, these settings may break
78 | ; compatibility with older or less security conscience applications. We
79 | ; recommending using the production ini in production and testing environments.
80 |
81 | ; php.ini-development is very similar to its production variant, except it is
82 | ; much more verbose when it comes to errors. We recommend using the
83 | ; development version only in development environments, as errors shown to
84 | ; application users can inadvertently leak otherwise secure information.
85 |
86 | ; This is php.ini-production INI file.
87 |
88 | ;;;;;;;;;;;;;;;;;;;
89 | ; Quick Reference ;
90 | ;;;;;;;;;;;;;;;;;;;
91 | ; The following are all the settings which are different in either the production
92 | ; or development versions of the INIs with respect to PHP's default behavior.
93 | ; Please see the actual settings later in the document for more details as to why
94 | ; we recommend these changes in PHP's behavior.
95 |
96 | ; display_errors
97 | ; Default Value: On
98 | ; Development Value: On
99 | ; Production Value: Off
100 |
101 | ; display_startup_errors
102 | ; Default Value: Off
103 | ; Development Value: On
104 | ; Production Value: Off
105 |
106 | ; error_reporting
107 | ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
108 | ; Development Value: E_ALL
109 | ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
110 |
111 | ; html_errors
112 | ; Default Value: On
113 | ; Development Value: On
114 | ; Production value: On
115 |
116 | ; log_errors
117 | ; Default Value: Off
118 | ; Development Value: On
119 | ; Production Value: On
120 |
121 | ; max_input_time
122 | ; Default Value: -1 (Unlimited)
123 | ; Development Value: 60 (60 seconds)
124 | ; Production Value: 60 (60 seconds)
125 |
126 | ; output_buffering
127 | ; Default Value: Off
128 | ; Development Value: 4096
129 | ; Production Value: 4096
130 |
131 | ; register_argc_argv
132 | ; Default Value: On
133 | ; Development Value: Off
134 | ; Production Value: Off
135 |
136 | ; request_order
137 | ; Default Value: None
138 | ; Development Value: "GP"
139 | ; Production Value: "GP"
140 |
141 | ; session.gc_divisor
142 | ; Default Value: 100
143 | ; Development Value: 1000
144 | ; Production Value: 1000
145 |
146 | ; session.hash_bits_per_character
147 | ; Default Value: 4
148 | ; Development Value: 5
149 | ; Production Value: 5
150 |
151 | ; short_open_tag
152 | ; Default Value: On
153 | ; Development Value: Off
154 | ; Production Value: Off
155 |
156 | ; track_errors
157 | ; Default Value: Off
158 | ; Development Value: On
159 | ; Production Value: Off
160 |
161 | ; url_rewriter.tags
162 | ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
163 | ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry
164 | ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
165 |
166 | ; variables_order
167 | ; Default Value: "EGPCS"
168 | ; Development Value: "GPCS"
169 | ; Production Value: "GPCS"
170 |
171 | magic_quotes_gpc = Off
172 | magic_quotes_runtime = Off
173 | magic_quotes_sybase = Off
174 |
175 | ;;;;;;;;;;;;;;;;;;;;
176 | ; php.ini Options ;
177 | ;;;;;;;;;;;;;;;;;;;;
178 | ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
179 | ;user_ini.filename = ".user.ini"
180 |
181 | ; To disable this feature set this option to empty value
182 | ;user_ini.filename =
183 |
184 | ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
185 | ;user_ini.cache_ttl = 300
186 |
187 | ;;;;;;;;;;;;;;;;;;;;
188 | ; Language Options ;
189 | ;;;;;;;;;;;;;;;;;;;;
190 |
191 | ; Enable the PHP scripting language engine under Apache.
192 | ; http://php.net/engine
193 | engine = On
194 |
195 | ; This directive determines whether or not PHP will recognize code between
196 | ; and ?> tags as PHP source which should be processed as such. It is
197 | ; generally recommended that should be used and that this feature
198 | ; should be disabled, as enabling it may result in issues when generating XML
199 | ; documents, however this remains supported for backward compatibility reasons.
200 | ; Note that this directive does not control the = shorthand tag, which can be
201 | ; used regardless of this directive.
202 | ; Default Value: On
203 | ; Development Value: Off
204 | ; Production Value: Off
205 | ; http://php.net/short-open-tag
206 | short_open_tag = Off
207 |
208 | ; Allow ASP-style <% %> tags.
209 | ; http://php.net/asp-tags
210 | asp_tags = Off
211 |
212 | ; The number of significant digits displayed in floating point numbers.
213 | ; http://php.net/precision
214 | precision = 14
215 |
216 | ; Output buffering is a mechanism for controlling how much output data
217 | ; (excluding headers and cookies) PHP should keep internally before pushing that
218 | ; data to the client. If your application's output exceeds this setting, PHP
219 | ; will send that data in chunks of roughly the size you specify.
220 | ; Turning on this setting and managing its maximum buffer size can yield some
221 | ; interesting side-effects depending on your application and web server.
222 | ; You may be able to send headers and cookies after you've already sent output
223 | ; through print or echo. You also may see performance benefits if your server is
224 | ; emitting less packets due to buffered output versus PHP streaming the output
225 | ; as it gets it. On production servers, 4096 bytes is a good setting for performance
226 | ; reasons.
227 | ; Note: Output buffering can also be controlled via Output Buffering Control
228 | ; functions.
229 | ; Possible Values:
230 | ; On = Enabled and buffer is unlimited. (Use with caution)
231 | ; Off = Disabled
232 | ; Integer = Enables the buffer and sets its maximum size in bytes.
233 | ; Note: This directive is hardcoded to Off for the CLI SAPI
234 | ; Default Value: Off
235 | ; Development Value: 4096
236 | ; Production Value: 4096
237 | ; http://php.net/output-buffering
238 | output_buffering = 4096
239 |
240 | ; You can redirect all of the output of your scripts to a function. For
241 | ; example, if you set output_handler to "mb_output_handler", character
242 | ; encoding will be transparently converted to the specified encoding.
243 | ; Setting any output handler automatically turns on output buffering.
244 | ; Note: People who wrote portable scripts should not depend on this ini
245 | ; directive. Instead, explicitly set the output handler using ob_start().
246 | ; Using this ini directive may cause problems unless you know what script
247 | ; is doing.
248 | ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
249 | ; and you cannot use both "ob_gzhandler" and "zlib.output_compression".
250 | ; Note: output_handler must be empty if this is set 'On' !!!!
251 | ; Instead you must use zlib.output_handler.
252 | ; http://php.net/output-handler
253 | ;output_handler =
254 |
255 | ; Transparent output compression using the zlib library
256 | ; Valid values for this option are 'off', 'on', or a specific buffer size
257 | ; to be used for compression (default is 4KB)
258 | ; Note: Resulting chunk size may vary due to nature of compression. PHP
259 | ; outputs chunks that are few hundreds bytes each as a result of
260 | ; compression. If you prefer a larger chunk size for better
261 | ; performance, enable output_buffering in addition.
262 | ; Note: You need to use zlib.output_handler instead of the standard
263 | ; output_handler, or otherwise the output will be corrupted.
264 | ; http://php.net/zlib.output-compression
265 | zlib.output_compression = Off
266 |
267 | ; http://php.net/zlib.output-compression-level
268 | ;zlib.output_compression_level = -1
269 |
270 | ; You cannot specify additional output handlers if zlib.output_compression
271 | ; is activated here. This setting does the same as output_handler but in
272 | ; a different order.
273 | ; http://php.net/zlib.output-handler
274 | ;zlib.output_handler =
275 |
276 | ; Implicit flush tells PHP to tell the output layer to flush itself
277 | ; automatically after every output block. This is equivalent to calling the
278 | ; PHP function flush() after each and every call to print() or echo() and each
279 | ; and every HTML block. Turning this option on has serious performance
280 | ; implications and is generally recommended for debugging purposes only.
281 | ; http://php.net/implicit-flush
282 | ; Note: This directive is hardcoded to On for the CLI SAPI
283 | implicit_flush = Off
284 |
285 | ; The unserialize callback function will be called (with the undefined class'
286 | ; name as parameter), if the unserializer finds an undefined class
287 | ; which should be instantiated. A warning appears if the specified function is
288 | ; not defined, or if the function doesn't include/implement the missing class.
289 | ; So only set this entry, if you really want to implement such a
290 | ; callback-function.
291 | unserialize_callback_func =
292 |
293 | ; When floats & doubles are serialized store serialize_precision significant
294 | ; digits after the floating point. The default value ensures that when floats
295 | ; are decoded with unserialize, the data will remain the same.
296 | serialize_precision = 17
297 |
298 | ; open_basedir, if set, limits all file operations to the defined directory
299 | ; and below. This directive makes most sense if used in a per-directory
300 | ; or per-virtualhost web server configuration file. This directive is
301 | ; *NOT* affected by whether Safe Mode is turned On or Off.
302 | ; http://php.net/open-basedir
303 | ;open_basedir =
304 |
305 | ; This directive allows you to disable certain functions for security reasons.
306 | ; It receives a comma-delimited list of function names. This directive is
307 | ; *NOT* affected by whether Safe Mode is turned On or Off.
308 | ; http://php.net/disable-functions
309 | disable_functions =
310 |
311 | ; This directive allows you to disable certain classes for security reasons.
312 | ; It receives a comma-delimited list of class names. This directive is
313 | ; *NOT* affected by whether Safe Mode is turned On or Off.
314 | ; http://php.net/disable-classes
315 | disable_classes =
316 |
317 | ; Colors for Syntax Highlighting mode. Anything that's acceptable in
318 | ; would work.
319 | ; http://php.net/syntax-highlighting
320 | ;highlight.string = #DD0000
321 | ;highlight.comment = #FF9900
322 | ;highlight.keyword = #007700
323 | ;highlight.default = #0000BB
324 | ;highlight.html = #000000
325 |
326 | ; If enabled, the request will be allowed to complete even if the user aborts
327 | ; the request. Consider enabling it if executing long requests, which may end up
328 | ; being interrupted by the user or a browser timing out. PHP's default behavior
329 | ; is to disable this feature.
330 | ; http://php.net/ignore-user-abort
331 | ;ignore_user_abort = On
332 |
333 | ; Determines the size of the realpath cache to be used by PHP. This value should
334 | ; be increased on systems where PHP opens many files to reflect the quantity of
335 | ; the file operations performed.
336 | ; http://php.net/realpath-cache-size
337 | ;realpath_cache_size = 16k
338 |
339 | ; Duration of time, in seconds for which to cache realpath information for a given
340 | ; file or directory. For systems with rarely changing files, consider increasing this
341 | ; value.
342 | ; http://php.net/realpath-cache-ttl
343 | ;realpath_cache_ttl = 120
344 |
345 | ; Enables or disables the circular reference collector.
346 | ; http://php.net/zend.enable-gc
347 | zend.enable_gc = On
348 |
349 | ; If enabled, scripts may be written in encodings that are incompatible with
350 | ; the scanner. CP936, Big5, CP949 and Shift_JIS are the examples of such
351 | ; encodings. To use this feature, mbstring extension must be enabled.
352 | ; Default: Off
353 | ;zend.multibyte = Off
354 |
355 | ; Allows to set the default encoding for the scripts. This value will be used
356 | ; unless "declare(encoding=...)" directive appears at the top of the script.
357 | ; Only affects if zend.multibyte is set.
358 | ; Default: ""
359 | ;zend.script_encoding =
360 |
361 | ;;;;;;;;;;;;;;;;;
362 | ; Miscellaneous ;
363 | ;;;;;;;;;;;;;;;;;
364 |
365 | ; Decides whether PHP may expose the fact that it is installed on the server
366 | ; (e.g. by adding its signature to the Web server header). It is no security
367 | ; threat in any way, but it makes it possible to determine whether you use PHP
368 | ; on your server or not.
369 | ; http://php.net/expose-php
370 | expose_php = Off
371 |
372 | ;;;;;;;;;;;;;;;;;;;
373 | ; Resource Limits ;
374 | ;;;;;;;;;;;;;;;;;;;
375 |
376 | ; Maximum execution time of each script, in seconds
377 | ; http://php.net/max-execution-time
378 | ; Note: This directive is hardcoded to 0 for the CLI SAPI
379 | max_execution_time = 600
380 |
381 | ; Maximum amount of time each script may spend parsing request data. It's a good
382 | ; idea to limit this time on productions servers in order to eliminate unexpectedly
383 | ; long running scripts.
384 | ; Note: This directive is hardcoded to -1 for the CLI SAPI
385 | ; Default Value: -1 (Unlimited)
386 | ; Development Value: 60 (60 seconds)
387 | ; Production Value: 60 (60 seconds)
388 | ; http://php.net/max-input-time
389 | max_input_time = 600
390 |
391 | ; Maximum input variable nesting level
392 | ; http://php.net/max-input-nesting-level
393 | ;max_input_nesting_level = 64
394 |
395 | ; How many GET/POST/COOKIE input variables may be accepted
396 | ; max_input_vars = 1000
397 |
398 | ; Maximum amount of memory a script may consume (128MB)
399 | ; http://php.net/memory-limit
400 | memory_limit = 256M
401 |
402 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
403 | ; Error handling and logging ;
404 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
405 |
406 | ; This directive informs PHP of which errors, warnings and notices you would like
407 | ; it to take action for. The recommended way of setting values for this
408 | ; directive is through the use of the error level constants and bitwise
409 | ; operators. The error level constants are below here for convenience as well as
410 | ; some common settings and their meanings.
411 | ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
412 | ; those related to E_NOTICE and E_STRICT, which together cover best practices and
413 | ; recommended coding standards in PHP. For performance reasons, this is the
414 | ; recommend error reporting setting. Your production server shouldn't be wasting
415 | ; resources complaining about best practices and coding standards. That's what
416 | ; development servers and development settings are for.
417 | ; Note: The php.ini-development file has this setting as E_ALL. This
418 | ; means it pretty much reports everything which is exactly what you want during
419 | ; development and early testing.
420 | ;
421 | ; Error Level Constants:
422 | ; E_ALL - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
423 | ; E_ERROR - fatal run-time errors
424 | ; E_RECOVERABLE_ERROR - almost fatal run-time errors
425 | ; E_WARNING - run-time warnings (non-fatal errors)
426 | ; E_PARSE - compile-time parse errors
427 | ; E_NOTICE - run-time notices (these are warnings which often result
428 | ; from a bug in your code, but it's possible that it was
429 | ; intentional (e.g., using an uninitialized variable and
430 | ; relying on the fact it is automatically initialized to an
431 | ; empty string)
432 | ; E_STRICT - run-time notices, enable to have PHP suggest changes
433 | ; to your code which will ensure the best interoperability
434 | ; and forward compatibility of your code
435 | ; E_CORE_ERROR - fatal errors that occur during PHP's initial startup
436 | ; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's
437 | ; initial startup
438 | ; E_COMPILE_ERROR - fatal compile-time errors
439 | ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
440 | ; E_USER_ERROR - user-generated error message
441 | ; E_USER_WARNING - user-generated warning message
442 | ; E_USER_NOTICE - user-generated notice message
443 | ; E_DEPRECATED - warn about code that will not work in future versions
444 | ; of PHP
445 | ; E_USER_DEPRECATED - user-generated deprecation warnings
446 | ;
447 | ; Common Values:
448 | ; E_ALL (Show all errors, warnings and notices including coding standards.)
449 | ; E_ALL & ~E_NOTICE (Show all errors, except for notices)
450 | ; E_ALL & ~E_NOTICE & ~E_STRICT (Show all errors, except for notices and coding standards warnings.)
451 | ; E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR (Show only errors)
452 | ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
453 | ; Development Value: E_ALL
454 | ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
455 | ; http://php.net/error-reporting
456 | error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
457 |
458 | ; This directive controls whether or not and where PHP will output errors,
459 | ; notices and warnings too. Error output is very useful during development, but
460 | ; it could be very dangerous in production environments. Depending on the code
461 | ; which is triggering the error, sensitive information could potentially leak
462 | ; out of your application such as database usernames and passwords or worse.
463 | ; For production environments, we recommend logging errors rather than
464 | ; sending them to STDOUT.
465 | ; Possible Values:
466 | ; Off = Do not display any errors
467 | ; stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
468 | ; On or stdout = Display errors to STDOUT
469 | ; Default Value: On
470 | ; Development Value: On
471 | ; Production Value: Off
472 | ; http://php.net/display-errors
473 | display_errors = Off
474 |
475 | ; The display of errors which occur during PHP's startup sequence are handled
476 | ; separately from display_errors. PHP's default behavior is to suppress those
477 | ; errors from clients. Turning the display of startup errors on can be useful in
478 | ; debugging configuration problems. We strongly recommend you
479 | ; set this to 'off' for production servers.
480 | ; Default Value: Off
481 | ; Development Value: On
482 | ; Production Value: Off
483 | ; http://php.net/display-startup-errors
484 | display_startup_errors = Off
485 |
486 | ; Besides displaying errors, PHP can also log errors to locations such as a
487 | ; server-specific log, STDERR, or a location specified by the error_log
488 | ; directive found below. While errors should not be displayed on productions
489 | ; servers they should still be monitored and logging is a great way to do that.
490 | ; Default Value: Off
491 | ; Development Value: On
492 | ; Production Value: On
493 | ; http://php.net/log-errors
494 | log_errors = On
495 |
496 | ; Set maximum length of log_errors. In error_log information about the source is
497 | ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
498 | ; http://php.net/log-errors-max-len
499 | log_errors_max_len = 1024
500 |
501 | ; Do not log repeated messages. Repeated errors must occur in same file on same
502 | ; line unless ignore_repeated_source is set true.
503 | ; http://php.net/ignore-repeated-errors
504 | ignore_repeated_errors = Off
505 |
506 | ; Ignore source of message when ignoring repeated messages. When this setting
507 | ; is On you will not log errors with repeated messages from different files or
508 | ; source lines.
509 | ; http://php.net/ignore-repeated-source
510 | ignore_repeated_source = Off
511 |
512 | ; If this parameter is set to Off, then memory leaks will not be shown (on
513 | ; stdout or in the log). This has only effect in a debug compile, and if
514 | ; error reporting includes E_WARNING in the allowed list
515 | ; http://php.net/report-memleaks
516 | report_memleaks = On
517 |
518 | ; This setting is on by default.
519 | ;report_zend_debug = 0
520 |
521 | ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
522 | ; to On can assist in debugging and is appropriate for development servers. It should
523 | ; however be disabled on production servers.
524 | ; Default Value: Off
525 | ; Development Value: On
526 | ; Production Value: Off
527 | ; http://php.net/track-errors
528 | track_errors = Off
529 |
530 | ; Turn off normal error reporting and emit XML-RPC error XML
531 | ; http://php.net/xmlrpc-errors
532 | ;xmlrpc_errors = 0
533 |
534 | ; An XML-RPC faultCode
535 | ;xmlrpc_error_number = 0
536 |
537 | ; When PHP displays or logs an error, it has the capability of formatting the
538 | ; error message as HTML for easier reading. This directive controls whether
539 | ; the error message is formatted as HTML or not.
540 | ; Note: This directive is hardcoded to Off for the CLI SAPI
541 | ; Default Value: On
542 | ; Development Value: On
543 | ; Production value: On
544 | ; http://php.net/html-errors
545 | html_errors = On
546 |
547 | ; If html_errors is set to On *and* docref_root is not empty, then PHP
548 | ; produces clickable error messages that direct to a page describing the error
549 | ; or function causing the error in detail.
550 | ; You can download a copy of the PHP manual from http://php.net/docs
551 | ; and change docref_root to the base URL of your local copy including the
552 | ; leading '/'. You must also specify the file extension being used including
553 | ; the dot. PHP's default behavior is to leave these settings empty, in which
554 | ; case no links to documentation are generated.
555 | ; Note: Never use this feature for production boxes.
556 | ; http://php.net/docref-root
557 | ; Examples
558 | ;docref_root = "/phpmanual/"
559 |
560 | ; http://php.net/docref-ext
561 | ;docref_ext = .html
562 |
563 | ; String to output before an error message. PHP's default behavior is to leave
564 | ; this setting blank.
565 | ; http://php.net/error-prepend-string
566 | ; Example:
567 | ;error_prepend_string = ""
568 |
569 | ; String to output after an error message. PHP's default behavior is to leave
570 | ; this setting blank.
571 | ; http://php.net/error-append-string
572 | ; Example:
573 | ;error_append_string = ""
574 |
575 | ; Log errors to specified file. PHP's default behavior is to leave this value
576 | ; empty.
577 | ; http://php.net/error-log
578 | ; Example:
579 | ;error_log = php_errors.log
580 | ; Log errors to syslog (Event Log on NT, not valid in Windows 95).
581 | ;error_log = syslog
582 |
583 | ;windows.show_crt_warning
584 | ; Default value: 0
585 | ; Development value: 0
586 | ; Production value: 0
587 |
588 | ;;;;;;;;;;;;;;;;;
589 | ; Data Handling ;
590 | ;;;;;;;;;;;;;;;;;
591 |
592 | ; The separator used in PHP generated URLs to separate arguments.
593 | ; PHP's default setting is "&".
594 | ; http://php.net/arg-separator.output
595 | ; Example:
596 | ;arg_separator.output = "&"
597 |
598 | ; List of separator(s) used by PHP to parse input URLs into variables.
599 | ; PHP's default setting is "&".
600 | ; NOTE: Every character in this directive is considered as separator!
601 | ; http://php.net/arg-separator.input
602 | ; Example:
603 | ;arg_separator.input = ";&"
604 |
605 | ; This directive determines which super global arrays are registered when PHP
606 | ; starts up. G,P,C,E & S are abbreviations for the following respective super
607 | ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
608 | ; paid for the registration of these arrays and because ENV is not as commonly
609 | ; used as the others, ENV is not recommended on productions servers. You
610 | ; can still get access to the environment variables through getenv() should you
611 | ; need to.
612 | ; Default Value: "EGPCS"
613 | ; Development Value: "GPCS"
614 | ; Production Value: "GPCS";
615 | ; http://php.net/variables-order
616 | variables_order = "GPCS"
617 |
618 | ; This directive determines which super global data (G,P,C,E & S) should
619 | ; be registered into the super global array REQUEST. If so, it also determines
620 | ; the order in which that data is registered. The values for this directive are
621 | ; specified in the same manner as the variables_order directive, EXCEPT one.
622 | ; Leaving this value empty will cause PHP to use the value set in the
623 | ; variables_order directive. It does not mean it will leave the super globals
624 | ; array REQUEST empty.
625 | ; Default Value: None
626 | ; Development Value: "GP"
627 | ; Production Value: "GP"
628 | ; http://php.net/request-order
629 | request_order = "GP"
630 |
631 | ; This directive determines whether PHP registers $argv & $argc each time it
632 | ; runs. $argv contains an array of all the arguments passed to PHP when a script
633 | ; is invoked. $argc contains an integer representing the number of arguments
634 | ; that were passed when the script was invoked. These arrays are extremely
635 | ; useful when running scripts from the command line. When this directive is
636 | ; enabled, registering these variables consumes CPU cycles and memory each time
637 | ; a script is executed. For performance reasons, this feature should be disabled
638 | ; on production servers.
639 | ; Note: This directive is hardcoded to On for the CLI SAPI
640 | ; Default Value: On
641 | ; Development Value: Off
642 | ; Production Value: Off
643 | ; http://php.net/register-argc-argv
644 | register_argc_argv = Off
645 |
646 | ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
647 | ; first used (Just In Time) instead of when the script starts. If these
648 | ; variables are not used within a script, having this directive on will result
649 | ; in a performance gain. The PHP directive register_argc_argv must be disabled
650 | ; for this directive to have any affect.
651 | ; http://php.net/auto-globals-jit
652 | auto_globals_jit = On
653 |
654 | ; Whether PHP will read the POST data.
655 | ; This option is enabled by default.
656 | ; Most likely, you won't want to disable this option globally. It causes $_POST
657 | ; and $_FILES to always be empty; the only way you will be able to read the
658 | ; POST data will be through the php://input stream wrapper. This can be useful
659 | ; to proxy requests or to process the POST data in a memory efficient fashion.
660 | ; http://php.net/enable-post-data-reading
661 | ;enable_post_data_reading = Off
662 |
663 | ; Maximum size of POST data that PHP will accept.
664 | ; Its value may be 0 to disable the limit. It is ignored if POST data reading
665 | ; is disabled through enable_post_data_reading.
666 | ; http://php.net/post-max-size
667 | post_max_size = 20M
668 |
669 | ; Automatically add files before PHP document.
670 | ; http://php.net/auto-prepend-file
671 | auto_prepend_file =
672 |
673 | ; Automatically add files after PHP document.
674 | ; http://php.net/auto-append-file
675 | auto_append_file =
676 |
677 | ; By default, PHP will output a character encoding using
678 | ; the Content-type: header. To disable sending of the charset, simply
679 | ; set it to be empty.
680 | ;
681 | ; PHP's built-in default is text/html
682 | ; http://php.net/default-mimetype
683 | default_mimetype = "text/html"
684 |
685 | ; PHP's default character set is set to empty.
686 | ; http://php.net/default-charset
687 | default_charset = "UTF-8"
688 |
689 | ; PHP internal character encoding is set to empty.
690 | ; If empty, default_charset is used.
691 | ; http://php.net/internal-encoding
692 | ;internal_encoding =
693 |
694 | ; PHP input character encoding is set to empty.
695 | ; http://php.net/input-encoding
696 | ;input_encoding =
697 |
698 | ; PHP output character encoding is set to empty.
699 | ; mbstring or iconv output handler is used.
700 | ; See also output_buffer.
701 | ; http://php.net/output-encoding
702 | ;output_encoding =
703 |
704 | ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
705 | ; to disable this feature and it will be removed in a future version.
706 | ; If post reading is disabled through enable_post_data_reading,
707 | ; $HTTP_RAW_POST_DATA is *NOT* populated.
708 | ; http://php.net/always-populate-raw-post-data
709 | ;always_populate_raw_post_data = -1
710 |
711 | ;;;;;;;;;;;;;;;;;;;;;;;;;
712 | ; Paths and Directories ;
713 | ;;;;;;;;;;;;;;;;;;;;;;;;;
714 |
715 | ; UNIX: "/path1:/path2"
716 | ;include_path = ".:/php/includes"
717 | ;
718 | ; Windows: "\path1;\path2"
719 | ;include_path = ".;c:\php\includes"
720 | ;
721 | ; PHP's default setting for include_path is ".;/path/to/php/pear"
722 | ; http://php.net/include-path
723 |
724 | ; The root of the PHP pages, used only if nonempty.
725 | ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
726 | ; if you are running php as a CGI under any web server (other than IIS)
727 | ; see documentation for security issues. The alternate is to use the
728 | ; cgi.force_redirect configuration below
729 | ; http://php.net/doc-root
730 | doc_root =
731 |
732 | ; The directory under which PHP opens the script using /~username used only
733 | ; if nonempty.
734 | ; http://php.net/user-dir
735 | user_dir =
736 |
737 | ; Directory in which the loadable extensions (modules) reside.
738 | ; http://php.net/extension-dir
739 | ; extension_dir = "./"
740 | ; On windows:
741 | ; extension_dir = "ext"
742 |
743 | ; Directory where the temporary files should be placed.
744 | ; Defaults to the system default (see sys_get_temp_dir)
745 | ; sys_temp_dir = "/tmp"
746 |
747 | ; Whether or not to enable the dl() function. The dl() function does NOT work
748 | ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
749 | ; disabled on them.
750 | ; http://php.net/enable-dl
751 | enable_dl = Off
752 |
753 | ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
754 | ; most web servers. Left undefined, PHP turns this on by default. You can
755 | ; turn it off here AT YOUR OWN RISK
756 | ; **You CAN safely turn this off for IIS, in fact, you MUST.**
757 | ; http://php.net/cgi.force-redirect
758 | ;cgi.force_redirect = 1
759 |
760 | ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
761 | ; every request. PHP's default behavior is to disable this feature.
762 | ;cgi.nph = 1
763 |
764 | ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
765 | ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
766 | ; will look for to know it is OK to continue execution. Setting this variable MAY
767 | ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
768 | ; http://php.net/cgi.redirect-status-env
769 | ;cgi.redirect_status_env =
770 |
771 | ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. PHP's
772 | ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
773 | ; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting
774 | ; this to 1 will cause PHP CGI to fix its paths to conform to the spec. A setting
775 | ; of zero causes PHP to behave as before. Default is 1. You should fix your scripts
776 | ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
777 | ; http://php.net/cgi.fix-pathinfo
778 | cgi.fix_pathinfo=0
779 |
780 | ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
781 | ; security tokens of the calling client. This allows IIS to define the
782 | ; security context that the request runs under. mod_fastcgi under Apache
783 | ; does not currently support this feature (03/17/2002)
784 | ; Set to 1 if running under IIS. Default is zero.
785 | ; http://php.net/fastcgi.impersonate
786 | ;fastcgi.impersonate = 1
787 |
788 | ; Disable logging through FastCGI connection. PHP's default behavior is to enable
789 | ; this feature.
790 | ;fastcgi.logging = 0
791 |
792 | ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
793 | ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
794 | ; is supported by Apache. When this option is set to 1, PHP will send
795 | ; RFC2616 compliant header.
796 | ; Default is zero.
797 | ; http://php.net/cgi.rfc2616-headers
798 | ;cgi.rfc2616_headers = 0
799 |
800 | ;;;;;;;;;;;;;;;;
801 | ; File Uploads ;
802 | ;;;;;;;;;;;;;;;;
803 |
804 | ; Whether to allow HTTP file uploads.
805 | ; http://php.net/file-uploads
806 | file_uploads = On
807 |
808 | ; Temporary directory for HTTP uploaded files (will use system default if not
809 | ; specified).
810 | ; http://php.net/upload-tmp-dir
811 | ;upload_tmp_dir =
812 |
813 | ; Maximum allowed size for uploaded files.
814 | ; http://php.net/upload-max-filesize
815 | upload_max_filesize = 20M
816 |
817 | ; Maximum number of files that can be uploaded via a single request
818 | max_file_uploads = 20
819 |
820 | ;;;;;;;;;;;;;;;;;;
821 | ; Fopen wrappers ;
822 | ;;;;;;;;;;;;;;;;;;
823 |
824 | ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
825 | ; http://php.net/allow-url-fopen
826 | allow_url_fopen = On
827 |
828 | ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
829 | ; http://php.net/allow-url-include
830 | allow_url_include = Off
831 |
832 | ; Define the anonymous ftp password (your email address). PHP's default setting
833 | ; for this is empty.
834 | ; http://php.net/from
835 | ;from="john@doe.com"
836 |
837 | ; Define the User-Agent string. PHP's default setting for this is empty.
838 | ; http://php.net/user-agent
839 | ;user_agent="PHP"
840 |
841 | ; Default timeout for socket based streams (seconds)
842 | ; http://php.net/default-socket-timeout
843 | default_socket_timeout = 60
844 |
845 | ; If your scripts have to deal with files from Macintosh systems,
846 | ; or you are running on a Mac and need to deal with files from
847 | ; unix or win32 systems, setting this flag will cause PHP to
848 | ; automatically detect the EOL character in those files so that
849 | ; fgets() and file() will work regardless of the source of the file.
850 | ; http://php.net/auto-detect-line-endings
851 | ;auto_detect_line_endings = Off
852 |
853 | ;;;;;;;;;;;;;;;;;;;;;;
854 | ; Dynamic Extensions ;
855 | ;;;;;;;;;;;;;;;;;;;;;;
856 |
857 | ; If you wish to have an extension loaded automatically, use the following
858 | ; syntax:
859 | ;
860 | ; extension=modulename.extension
861 | ;
862 | ; For example, on Windows:
863 | ;
864 | ; extension=msql.dll
865 | ;
866 | ; ... or under UNIX:
867 | ;
868 | ; extension=msql.so
869 | ;
870 | ; ... or with a path:
871 | ;
872 | ; extension=/path/to/extension/msql.so
873 | ;
874 | ; If you only provide the name of the extension, PHP will look for it in its
875 | ; default extension directory.
876 |
877 | ;;;;
878 | ; Note: packaged extension modules are now loaded via the .ini files
879 | ; found in the directory /etc/php.d; these are loaded by default.
880 | ;;;;
881 |
882 | ;;;;;;;;;;;;;;;;;;;
883 | ; Module Settings ;
884 | ;;;;;;;;;;;;;;;;;;;
885 |
886 | [CLI Server]
887 | ; Whether the CLI web server uses ANSI color coding in its terminal output.
888 | cli_server.color = On
889 |
890 | [Date]
891 | ; Defines the default timezone used by the date functions
892 | ; http://php.net/date.timezone
893 | date.timezone = Africa/Johannesburg
894 |
895 | ; http://php.net/date.default-latitude
896 | ;date.default_latitude = 31.7667
897 |
898 | ; http://php.net/date.default-longitude
899 | ;date.default_longitude = 35.2333
900 |
901 | ; http://php.net/date.sunrise-zenith
902 | ;date.sunrise_zenith = 90.583333
903 |
904 | ; http://php.net/date.sunset-zenith
905 | ;date.sunset_zenith = 90.583333
906 |
907 | [filter]
908 | ; http://php.net/filter.default
909 | ;filter.default = unsafe_raw
910 |
911 | ; http://php.net/filter.default-flags
912 | ;filter.default_flags =
913 |
914 | [iconv]
915 | ; Use of this INI entory is deprecated, use global input_encoding instead.
916 | ; If empty, input_encoding is used.
917 | ;iconv.input_encoding =
918 |
919 | ; Use of this INI entory is deprecated, use global internal_encoding instead.
920 | ; If empty, internal_encoding is used.
921 | ;iconv.internal_encoding =
922 |
923 | ; Use of this INI entory is deprecated, use global output_encoding instead.
924 | ; If empty, output_encoding is used.
925 | ;iconv.output_encoding =
926 |
927 | [intl]
928 | ;intl.default_locale =
929 | ; This directive allows you to produce PHP errors when some error
930 | ; happens within intl functions. The value is the level of the error produced.
931 | ; Default is 0, which does not produce any errors.
932 | ;intl.error_level = E_WARNING
933 |
934 | [sqlite]
935 | ; http://php.net/sqlite.assoc-case
936 | ;sqlite.assoc_case = 0
937 |
938 | [sqlite3]
939 | ;sqlite3.extension_dir =
940 |
941 | [Pcre]
942 | ;PCRE library backtracking limit.
943 | ; http://php.net/pcre.backtrack-limit
944 | ;pcre.backtrack_limit=100000
945 |
946 | ;PCRE library recursion limit.
947 | ;Please note that if you set this value to a high number you may consume all
948 | ;the available process stack and eventually crash PHP (due to reaching the
949 | ;stack size limit imposed by the Operating System).
950 | ; http://php.net/pcre.recursion-limit
951 | ;pcre.recursion_limit=100000
952 |
953 | [Pdo]
954 | ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
955 | ; http://php.net/pdo-odbc.connection-pooling
956 | ;pdo_odbc.connection_pooling=strict
957 |
958 | ;pdo_odbc.db2_instance_name
959 |
960 | [Pdo_mysql]
961 | ; If mysqlnd is used: Number of cache slots for the internal result set cache
962 | ; http://php.net/pdo_mysql.cache_size
963 | pdo_mysql.cache_size = 2000
964 |
965 | ; Default socket name for local MySQL connects. If empty, uses the built-in
966 | ; MySQL defaults.
967 | ; http://php.net/pdo_mysql.default-socket
968 | pdo_mysql.default_socket=/var/lib/mysql/mysql.sock
969 |
970 | [Phar]
971 | ; http://php.net/phar.readonly
972 | ;phar.readonly = On
973 |
974 | ; http://php.net/phar.require-hash
975 | ;phar.require_hash = On
976 |
977 | ;phar.cache_list =
978 |
979 | [mail function]
980 | ; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
981 | ; http://php.net/sendmail-path
982 | sendmail_path = /usr/sbin/sendmail -t -i
983 |
984 | ; Force the addition of the specified parameters to be passed as extra parameters
985 | ; to the sendmail binary. These parameters will always replace the value of
986 | ; the 5th parameter to mail(), even in safe mode.
987 | ;mail.force_extra_parameters =
988 |
989 | ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
990 | mail.add_x_header = On
991 |
992 | ; The path to a log file that will log all mail() calls. Log entries include
993 | ; the full path of the script, line number, To address and headers.
994 | ;mail.log =
995 | ; Log mail to syslog (Event Log on NT, not valid in Windows 95).
996 | ;mail.log = syslog
997 |
998 | [SQL]
999 | ; http://php.net/sql.safe-mode
1000 | sql.safe_mode = Off
1001 |
1002 | [ODBC]
1003 | ; http://php.net/odbc.default-db
1004 | ;odbc.default_db = Not yet implemented
1005 |
1006 | ; http://php.net/odbc.default-user
1007 | ;odbc.default_user = Not yet implemented
1008 |
1009 | ; http://php.net/odbc.default-pw
1010 | ;odbc.default_pw = Not yet implemented
1011 |
1012 | ; Controls the ODBC cursor model.
1013 | ; Default: SQL_CURSOR_STATIC (default).
1014 | ;odbc.default_cursortype
1015 |
1016 | ; Allow or prevent persistent links.
1017 | ; http://php.net/odbc.allow-persistent
1018 | odbc.allow_persistent = On
1019 |
1020 | ; Check that a connection is still valid before reuse.
1021 | ; http://php.net/odbc.check-persistent
1022 | odbc.check_persistent = On
1023 |
1024 | ; Maximum number of persistent links. -1 means no limit.
1025 | ; http://php.net/odbc.max-persistent
1026 | odbc.max_persistent = -1
1027 |
1028 | ; Maximum number of links (persistent + non-persistent). -1 means no limit.
1029 | ; http://php.net/odbc.max-links
1030 | odbc.max_links = -1
1031 |
1032 | ; Handling of LONG fields. Returns number of bytes to variables. 0 means
1033 | ; passthru.
1034 | ; http://php.net/odbc.defaultlrl
1035 | odbc.defaultlrl = 4096
1036 |
1037 | ; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char.
1038 | ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
1039 | ; of odbc.defaultlrl and odbc.defaultbinmode
1040 | ; http://php.net/odbc.defaultbinmode
1041 | odbc.defaultbinmode = 1
1042 |
1043 | ;birdstep.max_links = -1
1044 |
1045 | [Interbase]
1046 | ; Allow or prevent persistent links.
1047 | ibase.allow_persistent = 1
1048 |
1049 | ; Maximum number of persistent links. -1 means no limit.
1050 | ibase.max_persistent = -1
1051 |
1052 | ; Maximum number of links (persistent + non-persistent). -1 means no limit.
1053 | ibase.max_links = -1
1054 |
1055 | ; Default database name for ibase_connect().
1056 | ;ibase.default_db =
1057 |
1058 | ; Default username for ibase_connect().
1059 | ;ibase.default_user =
1060 |
1061 | ; Default password for ibase_connect().
1062 | ;ibase.default_password =
1063 |
1064 | ; Default charset for ibase_connect().
1065 | ;ibase.default_charset =
1066 |
1067 | ; Default timestamp format.
1068 | ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
1069 |
1070 | ; Default date format.
1071 | ibase.dateformat = "%Y-%m-%d"
1072 |
1073 | ; Default time format.
1074 | ibase.timeformat = "%H:%M:%S"
1075 |
1076 | [MySQL]
1077 | ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
1078 | ; http://php.net/mysql.allow_local_infile
1079 | mysql.allow_local_infile = On
1080 |
1081 | ; Allow or prevent persistent links.
1082 | ; http://php.net/mysql.allow-persistent
1083 | mysql.allow_persistent = On
1084 |
1085 | ; If mysqlnd is used: Number of cache slots for the internal result set cache
1086 | ; http://php.net/mysql.cache_size
1087 | mysql.cache_size = 2000
1088 |
1089 | ; Maximum number of persistent links. -1 means no limit.
1090 | ; http://php.net/mysql.max-persistent
1091 | mysql.max_persistent = -1
1092 |
1093 | ; Maximum number of links (persistent + non-persistent). -1 means no limit.
1094 | ; http://php.net/mysql.max-links
1095 | mysql.max_links = -1
1096 |
1097 | ; Default port number for mysql_connect(). If unset, mysql_connect() will use
1098 | ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
1099 | ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
1100 | ; at MYSQL_PORT.
1101 | ; http://php.net/mysql.default-port
1102 | mysql.default_port =
1103 |
1104 | ; Default socket name for local MySQL connects. If empty, uses the built-in
1105 | ; MySQL defaults.
1106 | ; http://php.net/mysql.default-socket
1107 | mysql.default_socket = /var/lib/mysql/mysql.sock
1108 |
1109 | ; Default host for mysql_connect() (doesn't apply in safe mode).
1110 | ; http://php.net/mysql.default-host
1111 | mysql.default_host =
1112 |
1113 | ; Default user for mysql_connect() (doesn't apply in safe mode).
1114 | ; http://php.net/mysql.default-user
1115 | mysql.default_user =
1116 |
1117 | ; Default password for mysql_connect() (doesn't apply in safe mode).
1118 | ; Note that this is generally a *bad* idea to store passwords in this file.
1119 | ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
1120 | ; and reveal this password! And of course, any users with read access to this
1121 | ; file will be able to reveal the password as well.
1122 | ; http://php.net/mysql.default-password
1123 | mysql.default_password =
1124 |
1125 | ; Maximum time (in seconds) for connect timeout. -1 means no limit
1126 | ; http://php.net/mysql.connect-timeout
1127 | mysql.connect_timeout = 60
1128 |
1129 | ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
1130 | ; SQL-Errors will be displayed.
1131 | ; http://php.net/mysql.trace-mode
1132 | mysql.trace_mode = Off
1133 |
1134 | [MySQLi]
1135 |
1136 | ; Maximum number of persistent links. -1 means no limit.
1137 | ; http://php.net/mysqli.max-persistent
1138 | mysqli.max_persistent = -1
1139 |
1140 | ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
1141 | ; http://php.net/mysqli.allow_local_infile
1142 | ;mysqli.allow_local_infile = On
1143 |
1144 | ; Allow or prevent persistent links.
1145 | ; http://php.net/mysqli.allow-persistent
1146 | mysqli.allow_persistent = On
1147 |
1148 | ; Maximum number of links. -1 means no limit.
1149 | ; http://php.net/mysqli.max-links
1150 | mysqli.max_links = -1
1151 |
1152 | ; If mysqlnd is used: Number of cache slots for the internal result set cache
1153 | ; http://php.net/mysqli.cache_size
1154 | mysqli.cache_size = 2000
1155 |
1156 | ; Default port number for mysqli_connect(). If unset, mysqli_connect() will use
1157 | ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
1158 | ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
1159 | ; at MYSQL_PORT.
1160 | ; http://php.net/mysqli.default-port
1161 | mysqli.default_port = 3306
1162 |
1163 | ; Default socket name for local MySQL connects. If empty, uses the built-in
1164 | ; MySQL defaults.
1165 | ; http://php.net/mysqli.default-socket
1166 | mysqli.default_socket = /var/lib/mysql/mysql.sock
1167 |
1168 | ; Default host for mysql_connect() (doesn't apply in safe mode).
1169 | ; http://php.net/mysqli.default-host
1170 | mysqli.default_host =
1171 |
1172 | ; Default user for mysql_connect() (doesn't apply in safe mode).
1173 | ; http://php.net/mysqli.default-user
1174 | mysqli.default_user =
1175 |
1176 | ; Default password for mysqli_connect() (doesn't apply in safe mode).
1177 | ; Note that this is generally a *bad* idea to store passwords in this file.
1178 | ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
1179 | ; and reveal this password! And of course, any users with read access to this
1180 | ; file will be able to reveal the password as well.
1181 | ; http://php.net/mysqli.default-pw
1182 | mysqli.default_pw =
1183 |
1184 | ; Allow or prevent reconnect
1185 | mysqli.reconnect = Off
1186 |
1187 | [mysqlnd]
1188 | ; Enable / Disable collection of general statistics by mysqlnd which can be
1189 | ; used to tune and monitor MySQL operations.
1190 | ; http://php.net/mysqlnd.collect_statistics
1191 | mysqlnd.collect_statistics = On
1192 |
1193 | ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
1194 | ; used to tune and monitor MySQL operations.
1195 | ; http://php.net/mysqlnd.collect_memory_statistics
1196 | mysqlnd.collect_memory_statistics = Off
1197 |
1198 | ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
1199 | ; http://php.net/mysqlnd.net_cmd_buffer_size
1200 | ;mysqlnd.net_cmd_buffer_size = 2048
1201 |
1202 | ; Size of a pre-allocated buffer used for reading data sent by the server in
1203 | ; bytes.
1204 | ; http://php.net/mysqlnd.net_read_buffer_size
1205 | ;mysqlnd.net_read_buffer_size = 32768
1206 |
1207 | [OCI8]
1208 |
1209 | ; Connection: Enables privileged connections using external
1210 | ; credentials (OCI_SYSOPER, OCI_SYSDBA)
1211 | ; http://php.net/oci8.privileged-connect
1212 | ;oci8.privileged_connect = Off
1213 |
1214 | ; Connection: The maximum number of persistent OCI8 connections per
1215 | ; process. Using -1 means no limit.
1216 | ; http://php.net/oci8.max-persistent
1217 | ;oci8.max_persistent = -1
1218 |
1219 | ; Connection: The maximum number of seconds a process is allowed to
1220 | ; maintain an idle persistent connection. Using -1 means idle
1221 | ; persistent connections will be maintained forever.
1222 | ; http://php.net/oci8.persistent-timeout
1223 | ;oci8.persistent_timeout = -1
1224 |
1225 | ; Connection: The number of seconds that must pass before issuing a
1226 | ; ping during oci_pconnect() to check the connection validity. When
1227 | ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
1228 | ; pings completely.
1229 | ; http://php.net/oci8.ping-interval
1230 | ;oci8.ping_interval = 60
1231 |
1232 | ; Connection: Set this to a user chosen connection class to be used
1233 | ; for all pooled server requests with Oracle 11g Database Resident
1234 | ; Connection Pooling (DRCP). To use DRCP, this value should be set to
1235 | ; the same string for all web servers running the same application,
1236 | ; the database pool must be configured, and the connection string must
1237 | ; specify to use a pooled server.
1238 | ;oci8.connection_class =
1239 |
1240 | ; High Availability: Using On lets PHP receive Fast Application
1241 | ; Notification (FAN) events generated when a database node fails. The
1242 | ; database must also be configured to post FAN events.
1243 | ;oci8.events = Off
1244 |
1245 | ; Tuning: This option enables statement caching, and specifies how
1246 | ; many statements to cache. Using 0 disables statement caching.
1247 | ; http://php.net/oci8.statement-cache-size
1248 | ;oci8.statement_cache_size = 20
1249 |
1250 | ; Tuning: Enables statement prefetching and sets the default number of
1251 | ; rows that will be fetched automatically after statement execution.
1252 | ; http://php.net/oci8.default-prefetch
1253 | ;oci8.default_prefetch = 100
1254 |
1255 | ; Compatibility. Using On means oci_close() will not close
1256 | ; oci_connect() and oci_new_connect() connections.
1257 | ; http://php.net/oci8.old-oci-close-semantics
1258 | ;oci8.old_oci_close_semantics = Off
1259 |
1260 | [PostgreSQL]
1261 | ; Allow or prevent persistent links.
1262 | ; http://php.net/pgsql.allow-persistent
1263 | pgsql.allow_persistent = On
1264 |
1265 | ; Detect broken persistent links always with pg_pconnect().
1266 | ; Auto reset feature requires a little overheads.
1267 | ; http://php.net/pgsql.auto-reset-persistent
1268 | pgsql.auto_reset_persistent = Off
1269 |
1270 | ; Maximum number of persistent links. -1 means no limit.
1271 | ; http://php.net/pgsql.max-persistent
1272 | pgsql.max_persistent = -1
1273 |
1274 | ; Maximum number of links (persistent+non persistent). -1 means no limit.
1275 | ; http://php.net/pgsql.max-links
1276 | pgsql.max_links = -1
1277 |
1278 | ; Ignore PostgreSQL backends Notice message or not.
1279 | ; Notice message logging require a little overheads.
1280 | ; http://php.net/pgsql.ignore-notice
1281 | pgsql.ignore_notice = 0
1282 |
1283 | ; Log PostgreSQL backends Notice message or not.
1284 | ; Unless pgsql.ignore_notice=0, module cannot log notice message.
1285 | ; http://php.net/pgsql.log-notice
1286 | pgsql.log_notice = 0
1287 |
1288 | [Sybase-CT]
1289 | ; Allow or prevent persistent links.
1290 | ; http://php.net/sybct.allow-persistent
1291 | sybct.allow_persistent = On
1292 |
1293 | ; Maximum number of persistent links. -1 means no limit.
1294 | ; http://php.net/sybct.max-persistent
1295 | sybct.max_persistent = -1
1296 |
1297 | ; Maximum number of links (persistent + non-persistent). -1 means no limit.
1298 | ; http://php.net/sybct.max-links
1299 | sybct.max_links = -1
1300 |
1301 | ; Minimum server message severity to display.
1302 | ; http://php.net/sybct.min-server-severity
1303 | sybct.min_server_severity = 10
1304 |
1305 | ; Minimum client message severity to display.
1306 | ; http://php.net/sybct.min-client-severity
1307 | sybct.min_client_severity = 10
1308 |
1309 | ; Set per-context timeout
1310 | ; http://php.net/sybct.timeout
1311 | ;sybct.timeout=
1312 |
1313 | ;sybct.packet_size
1314 |
1315 | ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
1316 | ; Default: one minute
1317 | ;sybct.login_timeout=
1318 |
1319 | ; The name of the host you claim to be connecting from, for display by sp_who.
1320 | ; Default: none
1321 | ;sybct.hostname=
1322 |
1323 | ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
1324 | ; Default: 0
1325 | ;sybct.deadlock_retry_count=
1326 |
1327 | [bcmath]
1328 | ; Number of decimal digits for all bcmath functions.
1329 | ; http://php.net/bcmath.scale
1330 | bcmath.scale = 0
1331 |
1332 | [browscap]
1333 | ; http://php.net/browscap
1334 | ;browscap = extra/browscap.ini
1335 |
1336 | [Session]
1337 | ; Handler used to store/retrieve data.
1338 | ; http://php.net/session.save-handler
1339 | session.save_handler = files
1340 |
1341 | ; Argument passed to save_handler. In the case of files, this is the path
1342 | ; where data files are stored. Note: Windows users have to change this
1343 | ; variable in order to use PHP's session functions.
1344 | ;
1345 | ; The path can be defined as:
1346 | ;
1347 | ; session.save_path = "N;/path"
1348 | ;
1349 | ; where N is an integer. Instead of storing all the session files in
1350 | ; /path, what this will do is use subdirectories N-levels deep, and
1351 | ; store the session data in those directories. This is useful if
1352 | ; your OS has problems with many files in one directory, and is
1353 | ; a more efficient layout for servers that handle many sessions.
1354 | ;
1355 | ; NOTE 1: PHP will not create this directory structure automatically.
1356 | ; You can use the script in the ext/session dir for that purpose.
1357 | ; NOTE 2: See the section on garbage collection below if you choose to
1358 | ; use subdirectories for session storage
1359 | ;
1360 | ; The file storage module creates files using mode 600 by default.
1361 | ; You can change that by using
1362 | ;
1363 | ; session.save_path = "N;MODE;/path"
1364 | ;
1365 | ; where MODE is the octal representation of the mode. Note that this
1366 | ; does not overwrite the process's umask.
1367 | ; http://php.net/session.save-path
1368 |
1369 | ; RPM note : session directory must be owned by process owner
1370 | ; for mod_php, see /etc/httpd/conf.d/php.conf
1371 | ; for php-fpm, see /etc/php-fpm.d/*conf
1372 | ;session.save_path = "/tmp"
1373 |
1374 | ; Whether to use strict session mode.
1375 | ; Strict session mode does not accept uninitialized session ID and regenerate
1376 | ; session ID if browser sends uninitialized session ID. Strict mode protects
1377 | ; applications from session fixation via session adoption vulnerability. It is
1378 | ; disabled by default for maximum compatibility, but enabling it is encouraged.
1379 | ; https://wiki.php.net/rfc/strict_sessions
1380 | session.use_strict_mode = 0
1381 |
1382 | ; Whether to use cookies.
1383 | ; http://php.net/session.use-cookies
1384 | session.use_cookies = 1
1385 |
1386 | ; http://php.net/session.cookie-secure
1387 | ;session.cookie_secure =
1388 |
1389 | ; This option forces PHP to fetch and use a cookie for storing and maintaining
1390 | ; the session id. We encourage this operation as it's very helpful in combating
1391 | ; session hijacking when not specifying and managing your own session id. It is
1392 | ; not the be-all and end-all of session hijacking defense, but it's a good start.
1393 | ; http://php.net/session.use-only-cookies
1394 | session.use_only_cookies = 1
1395 |
1396 | ; Name of the session (used as cookie name).
1397 | ; http://php.net/session.name
1398 | session.name = PHPSESSID
1399 |
1400 | ; Initialize session on request startup.
1401 | ; http://php.net/session.auto-start
1402 | session.auto_start = 0
1403 |
1404 | ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
1405 | ; http://php.net/session.cookie-lifetime
1406 | session.cookie_lifetime = 0
1407 |
1408 | ; The path for which the cookie is valid.
1409 | ; http://php.net/session.cookie-path
1410 | session.cookie_path = /
1411 |
1412 | ; The domain for which the cookie is valid.
1413 | ; http://php.net/session.cookie-domain
1414 | session.cookie_domain =
1415 |
1416 | ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
1417 | ; http://php.net/session.cookie-httponly
1418 | session.cookie_httponly =
1419 |
1420 | ; Handler used to serialize data. php is the standard serializer of PHP.
1421 | ; http://php.net/session.serialize-handler
1422 | session.serialize_handler = php
1423 |
1424 | ; Defines the probability that the 'garbage collection' process is started
1425 | ; on every session initialization. The probability is calculated by using
1426 | ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
1427 | ; and gc_divisor is the denominator in the equation. Setting this value to 1
1428 | ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
1429 | ; the gc will run on any give request.
1430 | ; Default Value: 1
1431 | ; Development Value: 1
1432 | ; Production Value: 1
1433 | ; http://php.net/session.gc-probability
1434 | session.gc_probability = 1
1435 |
1436 | ; Defines the probability that the 'garbage collection' process is started on every
1437 | ; session initialization. The probability is calculated by using the following equation:
1438 | ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
1439 | ; session.gc_divisor is the denominator in the equation. Setting this value to 1
1440 | ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
1441 | ; the gc will run on any give request. Increasing this value to 1000 will give you
1442 | ; a 0.1% chance the gc will run on any give request. For high volume production servers,
1443 | ; this is a more efficient approach.
1444 | ; Default Value: 100
1445 | ; Development Value: 1000
1446 | ; Production Value: 1000
1447 | ; http://php.net/session.gc-divisor
1448 | session.gc_divisor = 1000
1449 |
1450 | ; After this number of seconds, stored data will be seen as 'garbage' and
1451 | ; cleaned up by the garbage collection process.
1452 | ; http://php.net/session.gc-maxlifetime
1453 | session.gc_maxlifetime = 1440
1454 |
1455 | ; NOTE: If you are using the subdirectory option for storing session files
1456 | ; (see session.save_path above), then garbage collection does *not*
1457 | ; happen automatically. You will need to do your own garbage
1458 | ; collection through a shell script, cron entry, or some other method.
1459 | ; For example, the following script would is the equivalent of
1460 | ; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
1461 | ; find /path/to/sessions -cmin +24 -type f | xargs rm
1462 |
1463 | ; Check HTTP Referer to invalidate externally stored URLs containing ids.
1464 | ; HTTP_REFERER has to contain this substring for the session to be
1465 | ; considered as valid.
1466 | ; http://php.net/session.referer-check
1467 | session.referer_check =
1468 |
1469 | ; How many bytes to read from the file.
1470 | ; http://php.net/session.entropy-length
1471 | ;session.entropy_length = 32
1472 |
1473 | ; Specified here to create the session id.
1474 | ; http://php.net/session.entropy-file
1475 | ; Defaults to /dev/urandom
1476 | ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
1477 | ; If neither are found at compile time, the default is no entropy file.
1478 | ; On windows, setting the entropy_length setting will activate the
1479 | ; Windows random source (using the CryptoAPI)
1480 | ;session.entropy_file = /dev/urandom
1481 |
1482 | ; Set to {nocache,private,public,} to determine HTTP caching aspects
1483 | ; or leave this empty to avoid sending anti-caching headers.
1484 | ; http://php.net/session.cache-limiter
1485 | session.cache_limiter = nocache
1486 |
1487 | ; Document expires after n minutes.
1488 | ; http://php.net/session.cache-expire
1489 | session.cache_expire = 180
1490 |
1491 | ; trans sid support is disabled by default.
1492 | ; Use of trans sid may risk your users' security.
1493 | ; Use this option with caution.
1494 | ; - User may send URL contains active session ID
1495 | ; to other person via. email/irc/etc.
1496 | ; - URL that contains active session ID may be stored
1497 | ; in publicly accessible computer.
1498 | ; - User may access your site with the same session ID
1499 | ; always using URL stored in browser's history or bookmarks.
1500 | ; http://php.net/session.use-trans-sid
1501 | session.use_trans_sid = 0
1502 |
1503 | ; Select a hash function for use in generating session ids.
1504 | ; Possible Values
1505 | ; 0 (MD5 128 bits)
1506 | ; 1 (SHA-1 160 bits)
1507 | ; This option may also be set to the name of any hash function supported by
1508 | ; the hash extension. A list of available hashes is returned by the hash_algos()
1509 | ; function.
1510 | ; http://php.net/session.hash-function
1511 | session.hash_function = 0
1512 |
1513 | ; Define how many bits are stored in each character when converting
1514 | ; the binary hash data to something readable.
1515 | ; Possible values:
1516 | ; 4 (4 bits: 0-9, a-f)
1517 | ; 5 (5 bits: 0-9, a-v)
1518 | ; 6 (6 bits: 0-9, a-z, A-Z, "-", ",")
1519 | ; Default Value: 4
1520 | ; Development Value: 5
1521 | ; Production Value: 5
1522 | ; http://php.net/session.hash-bits-per-character
1523 | session.hash_bits_per_character = 5
1524 |
1525 | ; The URL rewriter will look for URLs in a defined set of HTML tags.
1526 | ; form/fieldset are special; if you include them here, the rewriter will
1527 | ; add a hidden field with the info which is otherwise appended
1528 | ; to URLs. If you want XHTML conformity, remove the form entry.
1529 | ; Note that all valid entries require a "=", even if no value follows.
1530 | ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
1531 | ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
1532 | ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
1533 | ; http://php.net/url-rewriter.tags
1534 | url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
1535 |
1536 | ; Enable upload progress tracking in $_SESSION
1537 | ; Default Value: On
1538 | ; Development Value: On
1539 | ; Production Value: On
1540 | ; http://php.net/session.upload-progress.enabled
1541 | ;session.upload_progress.enabled = On
1542 |
1543 | ; Cleanup the progress information as soon as all POST data has been read
1544 | ; (i.e. upload completed).
1545 | ; Default Value: On
1546 | ; Development Value: On
1547 | ; Production Value: On
1548 | ; http://php.net/session.upload-progress.cleanup
1549 | ;session.upload_progress.cleanup = On
1550 |
1551 | ; A prefix used for the upload progress key in $_SESSION
1552 | ; Default Value: "upload_progress_"
1553 | ; Development Value: "upload_progress_"
1554 | ; Production Value: "upload_progress_"
1555 | ; http://php.net/session.upload-progress.prefix
1556 | ;session.upload_progress.prefix = "upload_progress_"
1557 |
1558 | ; The index name (concatenated with the prefix) in $_SESSION
1559 | ; containing the upload progress information
1560 | ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
1561 | ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
1562 | ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
1563 | ; http://php.net/session.upload-progress.name
1564 | ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
1565 |
1566 | ; How frequently the upload progress should be updated.
1567 | ; Given either in percentages (per-file), or in bytes
1568 | ; Default Value: "1%"
1569 | ; Development Value: "1%"
1570 | ; Production Value: "1%"
1571 | ; http://php.net/session.upload-progress.freq
1572 | ;session.upload_progress.freq = "1%"
1573 |
1574 | ; The minimum delay between updates, in seconds
1575 | ; Default Value: 1
1576 | ; Development Value: 1
1577 | ; Production Value: 1
1578 | ; http://php.net/session.upload-progress.min-freq
1579 | ;session.upload_progress.min_freq = "1"
1580 |
1581 | [MSSQL]
1582 | ; Allow or prevent persistent links.
1583 | mssql.allow_persistent = On
1584 |
1585 | ; Maximum number of persistent links. -1 means no limit.
1586 | mssql.max_persistent = -1
1587 |
1588 | ; Maximum number of links (persistent+non persistent). -1 means no limit.
1589 | mssql.max_links = -1
1590 |
1591 | ; Minimum error severity to display.
1592 | mssql.min_error_severity = 10
1593 |
1594 | ; Minimum message severity to display.
1595 | mssql.min_message_severity = 10
1596 |
1597 | ; Compatibility mode with old versions of PHP 3.0.
1598 | mssql.compatibility_mode = Off
1599 |
1600 | ; Connect timeout
1601 | ;mssql.connect_timeout = 5
1602 |
1603 | ; Query timeout
1604 | ;mssql.timeout = 60
1605 |
1606 | ; Valid range 0 - 2147483647. Default = 4096.
1607 | ;mssql.textlimit = 4096
1608 |
1609 | ; Valid range 0 - 2147483647. Default = 4096.
1610 | ;mssql.textsize = 4096
1611 |
1612 | ; Limits the number of records in each batch. 0 = all records in one batch.
1613 | ;mssql.batchsize = 0
1614 |
1615 | ; Specify how datetime and datetim4 columns are returned
1616 | ; On => Returns data converted to SQL server settings
1617 | ; Off => Returns values as YYYY-MM-DD hh:mm:ss
1618 | ;mssql.datetimeconvert = On
1619 |
1620 | ; Use NT authentication when connecting to the server
1621 | mssql.secure_connection = Off
1622 |
1623 | ; Specify max number of processes. -1 = library default
1624 | ; msdlib defaults to 25
1625 | ; FreeTDS defaults to 4096
1626 | ;mssql.max_procs = -1
1627 |
1628 | ; Specify client character set.
1629 | ; If empty or not set the client charset from freetds.conf is used
1630 | ; This is only used when compiled with FreeTDS
1631 | ;mssql.charset = "ISO-8859-1"
1632 |
1633 | [Assertion]
1634 | ; Assert(expr); active by default.
1635 | ; http://php.net/assert.active
1636 | ;assert.active = On
1637 |
1638 | ; Issue a PHP warning for each failed assertion.
1639 | ; http://php.net/assert.warning
1640 | ;assert.warning = On
1641 |
1642 | ; Don't bail out by default.
1643 | ; http://php.net/assert.bail
1644 | ;assert.bail = Off
1645 |
1646 | ; User-function to be called if an assertion fails.
1647 | ; http://php.net/assert.callback
1648 | ;assert.callback = 0
1649 |
1650 | ; Eval the expression with current error_reporting(). Set to true if you want
1651 | ; error_reporting(0) around the eval().
1652 | ; http://php.net/assert.quiet-eval
1653 | ;assert.quiet_eval = 0
1654 |
1655 | [mbstring]
1656 | ; language for internal character representation.
1657 | ; This affects mb_send_mail() and mbstrig.detect_order.
1658 | ; http://php.net/mbstring.language
1659 | ;mbstring.language = Japanese
1660 |
1661 | ; Use of this INI entory is deprecated, use global internal_encoding instead.
1662 | ; internal/script encoding.
1663 | ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
1664 | ; If empty, default_charset or internal_encoding is used in order.
1665 | ; http://php.net/mbstring.internal-encoding
1666 | ;mbstring.internal_encoding =
1667 |
1668 | ; Use of this INI entory is deprecated, use global input_encoding instead.
1669 | ; http input encoding.
1670 | ; If empty, input_encoding is used.
1671 | ; mbstring.encoding_traslation = On is needed to use this setting.
1672 | ; http://php.net/mbstring.http-input
1673 | ;mbstring.http_input =
1674 |
1675 | ; Use of this INI entory is deprecated, use global output_encoding instead.
1676 | ; http output encoding.
1677 | ; mb_output_handler must be registered as output buffer to function.
1678 | ; If empty, output_encoding is used.
1679 | ; http://php.net/mbstring.http-output
1680 | ;mbstring.http_output =
1681 |
1682 | ; enable automatic encoding translation according to
1683 | ; mbstring.internal_encoding setting. Input chars are
1684 | ; converted to internal encoding by setting this to On.
1685 | ; Note: Do _not_ use automatic encoding translation for
1686 | ; portable libs/applications.
1687 | ; http://php.net/mbstring.encoding-translation
1688 | ;mbstring.encoding_translation = Off
1689 |
1690 | ; automatic encoding detection order.
1691 | ; "auto" detect order is changed accoding to mbstring.language
1692 | ; http://php.net/mbstring.detect-order
1693 | ;mbstring.detect_order = auto
1694 |
1695 | ; substitute_character used when character cannot be converted
1696 | ; one from another
1697 | ; http://php.net/mbstring.substitute-character
1698 | ;mbstring.substitute_character = none
1699 |
1700 | ; overload(replace) single byte functions by mbstring functions.
1701 | ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
1702 | ; etc. Possible values are 0,1,2,4 or combination of them.
1703 | ; For example, 7 for overload everything.
1704 | ; 0: No overload
1705 | ; 1: Overload mail() function
1706 | ; 2: Overload str*() functions
1707 | ; 4: Overload ereg*() functions
1708 | ; http://php.net/mbstring.func-overload
1709 | ;mbstring.func_overload = 0
1710 |
1711 | ; enable strict encoding detection.
1712 | ; Default: Off
1713 | ;mbstring.strict_detection = On
1714 |
1715 | ; This directive specifies the regex pattern of content types for which mb_output_handler()
1716 | ; is activated.
1717 | ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
1718 | ;mbstring.http_output_conv_mimetype=
1719 |
1720 | [gd]
1721 | ; Tell the jpeg decode to ignore warnings and try to create
1722 | ; a gd image. The warning will then be displayed as notices
1723 | ; disabled by default
1724 | ; http://php.net/gd.jpeg-ignore-warning
1725 | ;gd.jpeg_ignore_warning = 0
1726 |
1727 | [exif]
1728 | ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
1729 | ; With mbstring support this will automatically be converted into the encoding
1730 | ; given by corresponding encode setting. When empty mbstring.internal_encoding
1731 | ; is used. For the decode settings you can distinguish between motorola and
1732 | ; intel byte order. A decode setting cannot be empty.
1733 | ; http://php.net/exif.encode-unicode
1734 | ;exif.encode_unicode = ISO-8859-15
1735 |
1736 | ; http://php.net/exif.decode-unicode-motorola
1737 | ;exif.decode_unicode_motorola = UCS-2BE
1738 |
1739 | ; http://php.net/exif.decode-unicode-intel
1740 | ;exif.decode_unicode_intel = UCS-2LE
1741 |
1742 | ; http://php.net/exif.encode-jis
1743 | ;exif.encode_jis =
1744 |
1745 | ; http://php.net/exif.decode-jis-motorola
1746 | ;exif.decode_jis_motorola = JIS
1747 |
1748 | ; http://php.net/exif.decode-jis-intel
1749 | ;exif.decode_jis_intel = JIS
1750 |
1751 | [Tidy]
1752 | ; The path to a default tidy configuration file to use when using tidy
1753 | ; http://php.net/tidy.default-config
1754 | ;tidy.default_config = /usr/local/lib/php/default.tcfg
1755 |
1756 | ; Should tidy clean and repair output automatically?
1757 | ; WARNING: Do not use this option if you are generating non-html content
1758 | ; such as dynamic images
1759 | ; http://php.net/tidy.clean-output
1760 | tidy.clean_output = Off
1761 |
1762 | [soap]
1763 | ; Enables or disables WSDL caching feature.
1764 | ; http://php.net/soap.wsdl-cache-enabled
1765 | soap.wsdl_cache_enabled=1
1766 |
1767 | ; Sets the directory name where SOAP extension will put cache files.
1768 | ; http://php.net/soap.wsdl-cache-dir
1769 |
1770 | ; RPM note : cache directory must be owned by process owner
1771 | ; for mod_php, see /etc/httpd/conf.d/php.conf
1772 | ; for php-fpm, see /etc/php-fpm.d/*conf
1773 | soap.wsdl_cache_dir="/tmp"
1774 |
1775 | ; (time to live) Sets the number of second while cached file will be used
1776 | ; instead of original one.
1777 | ; http://php.net/soap.wsdl-cache-ttl
1778 | soap.wsdl_cache_ttl=86400
1779 |
1780 | ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
1781 | soap.wsdl_cache_limit = 5
1782 |
1783 | [sysvshm]
1784 | ; A default size of the shared memory segment
1785 | ;sysvshm.init_mem = 10000
1786 |
1787 | [ldap]
1788 | ; Sets the maximum number of open links or -1 for unlimited.
1789 | ldap.max_links = -1
1790 |
1791 | [mcrypt]
1792 | ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
1793 |
1794 | ; Directory where to load mcrypt algorithms
1795 | ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
1796 | ;mcrypt.algorithms_dir=
1797 |
1798 | ; Directory where to load mcrypt modes
1799 | ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
1800 | ;mcrypt.modes_dir=
1801 |
1802 | [dba]
1803 | ;dba.default_handler=
1804 |
1805 | [curl]
1806 | ; A default value for the CURLOPT_CAINFO option. This is required to be an
1807 | ; absolute path.
1808 | ;curl.cainfo =
1809 |
1810 | ; Local Variables:
1811 | ; tab-width: 4
1812 | ; End:
--------------------------------------------------------------------------------