Index: trunk/wikiSDK/setup |
— | — | @@ -0,0 +1,25 @@ |
| 2 | +#!/bin/sh |
| 3 | + |
| 4 | +case "$1" in |
| 5 | + webdocs) |
| 6 | + echo "Creating phpinfo.php" |
| 7 | + echo "<?php phpinfo();" > "`cat configData/docroot`phpinfo.php" |
| 8 | + ;; |
| 9 | + phpmyadmin) |
| 10 | + cd "`cat configData/docroot`" |
| 11 | + if [ -e phpMyAdmin ]; then |
| 12 | + echo "Updating copy of phpMyAdmin" |
| 13 | + cd phpMyAdmin |
| 14 | + svn update |
| 15 | + else |
| 16 | + echo "Downloading stable copy of phpMyAdmin" |
| 17 | + svn checkout https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/tags/STABLE/phpMyAdmin phpMyAdmin |
| 18 | + fi |
| 19 | + ;; |
| 20 | + *) |
| 21 | + echo "Usage: $0 webdocs - Generate the helper documents into the webroot." |
| 22 | + echo "Usage: $0 phpmyadmin - Download, or update, a copy of phpMyAdmin for administration of the databases." |
| 23 | + ;; |
| 24 | +esac |
| 25 | + |
| 26 | +exit 0 |
\ No newline at end of file |
Property changes on: trunk/wikiSDK/setup |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 27 | + LF |
Index: trunk/wikiSDK/config |
— | — | @@ -15,10 +15,14 @@ |
16 | 16 | if [ $CYGPATH ]; then |
17 | 17 | VAL=`cygpath -w "$VAL"` |
18 | 18 | fi |
19 | | - echo $VAL > ./configData/$1 |
| 19 | + echo "$VAL" > ./configData/$1 |
20 | 20 | else |
21 | 21 | if [ ! -e ./configData/$1 ]; then |
22 | | - echo "$2" > ./configData/$1 |
| 22 | + VAL=$2 |
| 23 | + if [ $CYGPATH ]; then |
| 24 | + VAL=`cygpath -w "$VAL"` |
| 25 | + fi |
| 26 | + echo "$VAL" > ./configData/$1 |
23 | 27 | fi |
24 | 28 | fi |
25 | 29 | echo |
— | — | @@ -30,7 +34,10 @@ |
31 | 35 | CYGPATH=1 |
32 | 36 | fi |
33 | 37 | |
34 | | -config phproot /usr/bin "The root where the PHP binaries can be found. %phproot%/php and %phproot%/php-cgi should be valid. Include the trailing slash." |
35 | | -config docroot "$PWD/htdocs" "The web root for the wiki setups. Normally the htdocs subdirectory. Include the trailing slash." |
36 | | -config logfile "$PWD/htdocs/server.log" "The logfile for the webserver to log to. Normally inside the htdocs so SVN doesn't catch it." |
| 38 | +config mysqlroot /usr "The root where the MySQL installation can be found. %mysqlroot%/bin/mysqld should be valid." |
| 39 | +config phproot /usr/bin/ "The root where the PHP binaries can be found. %phproot%php and %phproot%php-cgi should be valid. Include the trailing slash." |
| 40 | +config phpini "$PWD" "The directory to find the php.ini configuration file to give to php-cgi for configuration info. Defaults to the SDK's diretory where one will be created with ./server config." |
| 41 | +config phpext "`cat configData/phproot`ext/" "The directory to find PHP extensions, defaults to the ext/ directory under the phproot. Include the trailing slash." |
| 42 | +config docroot "$PWD/htdocs/" "The web root for the wiki setups. Normally the htdocs subdirectory. Include the trailing slash." |
| 43 | +config logfile "`cat configData/docroot`server.log" "The logfile for the webserver to log to. Normally inside the htdocs so SVN doesn't catch it." |
37 | 44 | config port 8000 "The port on which to run the webserver." |
\ No newline at end of file |
Index: trunk/wikiSDK/server |
— | — | @@ -2,19 +2,39 @@ |
3 | 3 | |
4 | 4 | case "$1" in |
5 | 5 | config) |
6 | | - cp -f scriptRes/Xerver2.cfg.base Xerver4/data/Xerver2.cfg |
7 | | - sed "s!%phproot%!`cat configData/phproot | sed 's/\\\\/\\\\\\\\/g' -`!" -i Xerver4/data/Xerver2.cfg |
8 | | - sed "s!%htdocs%!`cat configData/docroot | sed 's/\\\\/\\\\\\\\/g' -`!" -i Xerver4/data/Xerver2.cfg |
9 | | - sed "s!%logfile%!`cat configData/logfile | sed 's/\\\\/\\\\\\\\/g' -`!" -i Xerver4/data/Xerver2.cfg |
10 | | - sed "s!%port%!`cat configData/port | sed 's/\\\\/\\\\\\\\/g' -`!" -i Xerver4/data/Xerver2.cfg |
| 6 | + echo "Configuring Xerver2.cfg" |
| 7 | + cp -f scriptRes/Xerver2.cfg ./Xerver4/data/Xerver2.cfg |
| 8 | + sed "s!%phproot%!`cat configData/phproot | sed 's/\\\\/\\\\\\\\/g' -`!" -i ./Xerver4/data/Xerver2.cfg |
| 9 | + sed "s!%htdocs%!`cat configData/docroot | sed 's/\\\\/\\\\\\\\/g' -`!" -i ./Xerver4/data/Xerver2.cfg |
| 10 | + sed "s!%logfile%!`cat configData/logfile | sed 's/\\\\/\\\\\\\\/g' -`!" -i ./Xerver4/data/Xerver2.cfg |
| 11 | + sed "s!%port%!`cat configData/port | sed 's/\\\\/\\\\\\\\/g' -`!" -i ./Xerver4/data/Xerver2.cfg |
| 12 | + sed "s!%phpini%!`cat configData/phpini | sed 's/\\\\/\\\\\\\\/g' -`!" -i ./Xerver4/data/Xerver2.cfg |
| 13 | + |
| 14 | + if [ -x /usr/bin/cygpath ]; then |
| 15 | + echo "Configuring php.ini for windows mode." |
| 16 | + cp -f scriptRes/php.ini-win ./php.ini |
| 17 | + sed "s!%phproot%!`cat configData/phproot | sed 's/\\\\/\\\\\\\\/g' -`!" -i ./php.ini |
| 18 | + else |
| 19 | + echo "Non-windows mode has not been setup yet." |
| 20 | + fi |
11 | 21 | ;; |
12 | | - run) |
| 22 | + web) |
13 | 23 | cd Xerver4 |
14 | 24 | java -jar xerver.jar Server |
15 | 25 | ;; |
| 26 | + sql) |
| 27 | + cd "`cat configData/mysqlroot`" |
| 28 | + cd bin |
| 29 | + ./mysqld --standalone |
| 30 | + ;; |
| 31 | + server) |
| 32 | + $0 web& |
| 33 | + $0 sql |
16 | 34 | *) |
17 | | - echo "Usage: $0 config - Build configfile from settings" |
18 | | - echo "Usage: $0 run - Run webserver, use ctrl+c or close window to kill" |
| 35 | + echo "Usage: $0 config - Build configfiles from settings" |
| 36 | + echo "Usage: $0 web - Run webserver, use ctrl+c or close window to kill" |
| 37 | + echo "Usage: $0 sql - Run sql server, use ctrl+c to kill" |
| 38 | + echo "Usage: $0 server - Run the webserver and sql server, use ctrl+c to kill both" |
19 | 39 | ;; |
20 | 40 | esac |
21 | 41 | |
Index: trunk/wikiSDK/README |
— | — | @@ -15,14 +15,19 @@ |
16 | 16 | * cygwin (SDK Scripts are written in Bash; Use the setup.exe script downloaded from http://cygwin.com/) |
17 | 17 | * Subversion (TortoiseSVN is helpfull for a UI form, but you will need the cygwin package for the bash scripts) |
18 | 18 | * PHP Binaries (Recomended package is the PHP zip package from http://www.php.net/downloads.php#v5) |
| 19 | +* MySQL binaries (Recomended package is the one Without installer from http://dev.mysql.com/downloads/mysql/5.0.html#win32 |
| 20 | + You can unzip that into a directory then copy the my-medium.ini to my.ini in the same directory and you're good to go) |
19 | 21 | |
20 | 22 | Setup: |
21 | 23 | [1] Checkout the SDK from Subversion. |
22 | 24 | svn checkout http://svn.wikimedia.org/svnroot/mediawiki/trunk/wikiSDK/ wikiSDK/ |
23 | 25 | [2] cd into your wikiSDK directory using the Cygwin terminal. |
24 | | -[3] Run `./config` and enter in the paths and data needed. Remember to use \ on windows instead of / or things will break. |
| 26 | +[3] Run `./config` and enter in the paths and data needed. Remember to run from the cygwin terminal so cygpath is used to correct things. |
25 | 27 | [4] Run `./server config` to create a new webserver configuration file. |
26 | | -[5] When you need to use the webserver to view things, just type `./server run` to start it up. ctrl+c or close the window to shutdown. |
| 28 | +[5] Run `./setup webdocs` to create the basic helper documents in the webroot and `./setup phpmyadmin` to get a copy of pypMyAdmin for |
| 29 | + administration of your sql server. |
| 30 | +[6] When you need to use the webserver to view things, just type `./server web` to start it up. ctrl+c or close the window to shutdown. |
| 31 | +[7] When you need to use the sql server, just type `./server sql` to start it up. ctrl+c to shutdown. |
27 | 32 | |
28 | 33 | === Use on Mac OS X === |
29 | 34 | |
Index: trunk/wikiSDK/scriptRes/Xerver2.cfg.base |
— | — | @@ -1,14 +0,0 @@ |
2 | | -%port%
|
3 | | -index.php,index.html,index.htm
|
4 | | -%htdocs%*
|
5 | | -
|
6 | | -%htdocs%
|
7 | | -php=%phproot%php-cgi
|
8 | | -
|
9 | | -
|
10 | | -1
|
11 | | -0
|
12 | | -0
|
13 | | -1
|
14 | | -1
|
15 | | -%logfile% |
\ No newline at end of file |
Index: trunk/wikiSDK/scriptRes/php.ini-win |
— | — | @@ -0,0 +1,1289 @@ |
| 2 | +[PHP]
|
| 3 | +
|
| 4 | +;;;;;;;;;;;
|
| 5 | +; WARNING ;
|
| 6 | +;;;;;;;;;;;
|
| 7 | +; This is the default settings file for new PHP installations.
|
| 8 | +; By default, PHP installs itself with a configuration suitable for
|
| 9 | +; development purposes, and *NOT* for production purposes.
|
| 10 | +; For several security-oriented considerations that should be taken
|
| 11 | +; before going online with your site, please consult php.ini-recommended
|
| 12 | +; and http://php.net/manual/en/security.php.
|
| 13 | +
|
| 14 | +
|
| 15 | +;;;;;;;;;;;;;;;;;;;
|
| 16 | +; About php.ini ;
|
| 17 | +;;;;;;;;;;;;;;;;;;;
|
| 18 | +; This file controls many aspects of PHP's behavior. In order for PHP to
|
| 19 | +; read it, it must be named 'php.ini'. PHP looks for it in the current
|
| 20 | +; working directory, in the path designated by the environment variable
|
| 21 | +; PHPRC, and in the path that was defined in compile time (in that order).
|
| 22 | +; Under Windows, the compile-time path is the Windows directory. The
|
| 23 | +; path in which the php.ini file is looked for can be overridden using
|
| 24 | +; the -c argument in command line mode.
|
| 25 | +;
|
| 26 | +; The syntax of the file is extremely simple. Whitespace and Lines
|
| 27 | +; beginning with a semicolon are silently ignored (as you probably guessed).
|
| 28 | +; Section headers (e.g. [Foo]) are also silently ignored, even though
|
| 29 | +; they might mean something in the future.
|
| 30 | +;
|
| 31 | +; Directives are specified using the following syntax:
|
| 32 | +; directive = value
|
| 33 | +; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
|
| 34 | +;
|
| 35 | +; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
|
| 36 | +; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
|
| 37 | +; (e.g. E_ALL & ~E_NOTICE), or a quoted string ("foo").
|
| 38 | +;
|
| 39 | +; Expressions in the INI file are limited to bitwise operators and parentheses:
|
| 40 | +; | bitwise OR
|
| 41 | +; & bitwise AND
|
| 42 | +; ~ bitwise NOT
|
| 43 | +; ! boolean NOT
|
| 44 | +;
|
| 45 | +; Boolean flags can be turned on using the values 1, On, True or Yes.
|
| 46 | +; They can be turned off using the values 0, Off, False or No.
|
| 47 | +;
|
| 48 | +; An empty string can be denoted by simply not writing anything after the equal
|
| 49 | +; sign, or by using the None keyword:
|
| 50 | +;
|
| 51 | +; foo = ; sets foo to an empty string
|
| 52 | +; foo = none ; sets foo to an empty string
|
| 53 | +; foo = "none" ; sets foo to the string 'none'
|
| 54 | +;
|
| 55 | +; If you use constants in your value, and these constants belong to a
|
| 56 | +; dynamically loaded extension (either a PHP extension or a Zend extension),
|
| 57 | +; you may only use these constants *after* the line that loads the extension.
|
| 58 | +;
|
| 59 | +;
|
| 60 | +;;;;;;;;;;;;;;;;;;;
|
| 61 | +; About this file ;
|
| 62 | +;;;;;;;;;;;;;;;;;;;
|
| 63 | +; All the values in the php.ini-dist file correspond to the builtin
|
| 64 | +; defaults (that is, if no php.ini is used, or if you delete these lines,
|
| 65 | +; the builtin defaults will be identical).
|
| 66 | +
|
| 67 | +
|
| 68 | +;;;;;;;;;;;;;;;;;;;;
|
| 69 | +; Language Options ;
|
| 70 | +;;;;;;;;;;;;;;;;;;;;
|
| 71 | +
|
| 72 | +; Enable the PHP scripting language engine under Apache.
|
| 73 | +engine = On
|
| 74 | +
|
| 75 | +; Enable compatibility mode with Zend Engine 1 (PHP 4.x)
|
| 76 | +zend.ze1_compatibility_mode = Off
|
| 77 | +
|
| 78 | +; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized.
|
| 79 | +; NOTE: Using short tags should be avoided when developing applications or
|
| 80 | +; libraries that are meant for redistribution, or deployment on PHP
|
| 81 | +; servers which are not under your control, because short tags may not
|
| 82 | +; be supported on the target server. For portable, redistributable code,
|
| 83 | +; be sure not to use short tags.
|
| 84 | +short_open_tag = On
|
| 85 | +
|
| 86 | +; Allow ASP-style <% %> tags.
|
| 87 | +asp_tags = Off
|
| 88 | +
|
| 89 | +; The number of significant digits displayed in floating point numbers.
|
| 90 | +precision = 12
|
| 91 | +
|
| 92 | +; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
|
| 93 | +y2k_compliance = On
|
| 94 | +
|
| 95 | +; Output buffering allows you to send header lines (including cookies) even
|
| 96 | +; after you send body content, at the price of slowing PHP's output layer a
|
| 97 | +; bit. You can enable output buffering during runtime by calling the output
|
| 98 | +; buffering functions. You can also enable output buffering for all files by
|
| 99 | +; setting this directive to On. If you wish to limit the size of the buffer
|
| 100 | +; to a certain size - you can use a maximum number of bytes instead of 'On', as
|
| 101 | +; a value for this directive (e.g., output_buffering=4096).
|
| 102 | +output_buffering = Off
|
| 103 | +
|
| 104 | +; You can redirect all of the output of your scripts to a function. For
|
| 105 | +; example, if you set output_handler to "mb_output_handler", character
|
| 106 | +; encoding will be transparently converted to the specified encoding.
|
| 107 | +; Setting any output handler automatically turns on output buffering.
|
| 108 | +; Note: People who wrote portable scripts should not depend on this ini
|
| 109 | +; directive. Instead, explicitly set the output handler using ob_start().
|
| 110 | +; Using this ini directive may cause problems unless you know what script
|
| 111 | +; is doing.
|
| 112 | +; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
|
| 113 | +; and you cannot use both "ob_gzhandler" and "zlib.output_compression".
|
| 114 | +; Note: output_handler must be empty if this is set 'On' !!!!
|
| 115 | +; Instead you must use zlib.output_handler.
|
| 116 | +;output_handler =
|
| 117 | +
|
| 118 | +; Transparent output compression using the zlib library
|
| 119 | +; Valid values for this option are 'off', 'on', or a specific buffer size
|
| 120 | +; to be used for compression (default is 4KB)
|
| 121 | +; Note: Resulting chunk size may vary due to nature of compression. PHP
|
| 122 | +; outputs chunks that are few hundreds bytes each as a result of
|
| 123 | +; compression. If you prefer a larger chunk size for better
|
| 124 | +; performance, enable output_buffering in addition.
|
| 125 | +; Note: You need to use zlib.output_handler instead of the standard
|
| 126 | +; output_handler, or otherwise the output will be corrupted.
|
| 127 | +zlib.output_compression = Off
|
| 128 | +;zlib.output_compression_level = -1
|
| 129 | +
|
| 130 | +; You cannot specify additional output handlers if zlib.output_compression
|
| 131 | +; is activated here. This setting does the same as output_handler but in
|
| 132 | +; a different order.
|
| 133 | +;zlib.output_handler =
|
| 134 | +
|
| 135 | +; Implicit flush tells PHP to tell the output layer to flush itself
|
| 136 | +; automatically after every output block. This is equivalent to calling the
|
| 137 | +; PHP function flush() after each and every call to print() or echo() and each
|
| 138 | +; and every HTML block. Turning this option on has serious performance
|
| 139 | +; implications and is generally recommended for debugging purposes only.
|
| 140 | +implicit_flush = Off
|
| 141 | +
|
| 142 | +; The unserialize callback function will be called (with the undefined class'
|
| 143 | +; name as parameter), if the unserializer finds an undefined class
|
| 144 | +; which should be instantiated.
|
| 145 | +; A warning appears if the specified function is not defined, or if the
|
| 146 | +; function doesn't include/implement the missing class.
|
| 147 | +; So only set this entry, if you really want to implement such a
|
| 148 | +; callback-function.
|
| 149 | +unserialize_callback_func=
|
| 150 | +
|
| 151 | +; When floats & doubles are serialized store serialize_precision significant
|
| 152 | +; digits after the floating point. The default value ensures that when floats
|
| 153 | +; are decoded with unserialize, the data will remain the same.
|
| 154 | +serialize_precision = 100
|
| 155 | +
|
| 156 | +; Whether to enable the ability to force arguments to be passed by reference
|
| 157 | +; at function call time. This method is deprecated and is likely to be
|
| 158 | +; unsupported in future versions of PHP/Zend. The encouraged method of
|
| 159 | +; specifying which arguments should be passed by reference is in the function
|
| 160 | +; declaration. You're encouraged to try and turn this option Off and make
|
| 161 | +; sure your scripts work properly with it in order to ensure they will work
|
| 162 | +; with future versions of the language (you will receive a warning each time
|
| 163 | +; you use this feature, and the argument will be passed by value instead of by
|
| 164 | +; reference).
|
| 165 | +allow_call_time_pass_reference = On
|
| 166 | +
|
| 167 | +;
|
| 168 | +; Safe Mode
|
| 169 | +;
|
| 170 | +safe_mode = Off
|
| 171 | +
|
| 172 | +; By default, Safe Mode does a UID compare check when
|
| 173 | +; opening files. If you want to relax this to a GID compare,
|
| 174 | +; then turn on safe_mode_gid.
|
| 175 | +safe_mode_gid = Off
|
| 176 | +
|
| 177 | +; When safe_mode is on, UID/GID checks are bypassed when
|
| 178 | +; including files from this directory and its subdirectories.
|
| 179 | +; (directory must also be in include_path or full path must
|
| 180 | +; be used when including)
|
| 181 | +safe_mode_include_dir =
|
| 182 | +
|
| 183 | +; When safe_mode is on, only executables located in the safe_mode_exec_dir
|
| 184 | +; will be allowed to be executed via the exec family of functions.
|
| 185 | +safe_mode_exec_dir =
|
| 186 | +
|
| 187 | +; Setting certain environment variables may be a potential security breach.
|
| 188 | +; This directive contains a comma-delimited list of prefixes. In Safe Mode,
|
| 189 | +; the user may only alter environment variables whose names begin with the
|
| 190 | +; prefixes supplied here. By default, users will only be able to set
|
| 191 | +; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
|
| 192 | +;
|
| 193 | +; Note: If this directive is empty, PHP will let the user modify ANY
|
| 194 | +; environment variable!
|
| 195 | +safe_mode_allowed_env_vars = PHP_
|
| 196 | +
|
| 197 | +; This directive contains a comma-delimited list of environment variables that
|
| 198 | +; the end user won't be able to change using putenv(). These variables will be
|
| 199 | +; protected even if safe_mode_allowed_env_vars is set to allow to change them.
|
| 200 | +safe_mode_protected_env_vars = LD_LIBRARY_PATH
|
| 201 | +
|
| 202 | +; open_basedir, if set, limits all file operations to the defined directory
|
| 203 | +; and below. This directive makes most sense if used in a per-directory
|
| 204 | +; or per-virtualhost web server configuration file. This directive is
|
| 205 | +; *NOT* affected by whether Safe Mode is turned On or Off.
|
| 206 | +;open_basedir =
|
| 207 | +
|
| 208 | +; This directive allows you to disable certain functions for security reasons.
|
| 209 | +; It receives a comma-delimited list of function names. This directive is
|
| 210 | +; *NOT* affected by whether Safe Mode is turned On or Off.
|
| 211 | +disable_functions =
|
| 212 | +
|
| 213 | +; This directive allows you to disable certain classes for security reasons.
|
| 214 | +; It receives a comma-delimited list of class names. This directive is
|
| 215 | +; *NOT* affected by whether Safe Mode is turned On or Off.
|
| 216 | +disable_classes =
|
| 217 | +
|
| 218 | +; Colors for Syntax Highlighting mode. Anything that's acceptable in
|
| 219 | +; <span style="color: ???????"> would work.
|
| 220 | +;highlight.string = #DD0000
|
| 221 | +;highlight.comment = #FF9900
|
| 222 | +;highlight.keyword = #007700
|
| 223 | +;highlight.bg = #FFFFFF
|
| 224 | +;highlight.default = #0000BB
|
| 225 | +;highlight.html = #000000
|
| 226 | +
|
| 227 | +; If enabled, the request will be allowed to complete even if the user aborts
|
| 228 | +; the request. Consider enabling it if executing long request, which may end up
|
| 229 | +; being interrupted by the user or a browser timing out.
|
| 230 | +; ignore_user_abort = On
|
| 231 | +
|
| 232 | +; Determines the size of the realpath cache to be used by PHP. This value should
|
| 233 | +; be increased on systems where PHP opens many files to reflect the quantity of
|
| 234 | +; the file operations performed.
|
| 235 | +; realpath_cache_size=16k
|
| 236 | +
|
| 237 | +; Duration of time, in seconds for which to cache realpath information for a given
|
| 238 | +; file or directory. For systems with rarely changing files, consider increasing this
|
| 239 | +; value.
|
| 240 | +; realpath_cache_ttl=120
|
| 241 | +
|
| 242 | +;
|
| 243 | +; Misc
|
| 244 | +;
|
| 245 | +; Decides whether PHP may expose the fact that it is installed on the server
|
| 246 | +; (e.g. by adding its signature to the Web server header). It is no security
|
| 247 | +; threat in any way, but it makes it possible to determine whether you use PHP
|
| 248 | +; on your server or not.
|
| 249 | +expose_php = On
|
| 250 | +
|
| 251 | +
|
| 252 | +;;;;;;;;;;;;;;;;;;;
|
| 253 | +; Resource Limits ;
|
| 254 | +;;;;;;;;;;;;;;;;;;;
|
| 255 | +
|
| 256 | +;;wikiSDK: Modified from 30 to 60 and 60 to 120 for leniency in development.
|
| 257 | +max_execution_time = 60 ; Maximum execution time of each script, in seconds
|
| 258 | +max_input_time = 120 ; Maximum amount of time each script may spend parsing request data
|
| 259 | +;max_input_nesting_level = 64 ; Maximum input variable nesting level
|
| 260 | +memory_limit = 128M ; Maximum amount of memory a script may consume (128MB)
|
| 261 | +
|
| 262 | +
|
| 263 | +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
| 264 | +; Error handling and logging ;
|
| 265 | +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
| 266 | +
|
| 267 | +; error_reporting is a bit-field. Or each number up to get desired error
|
| 268 | +; reporting level
|
| 269 | +; E_ALL - All errors and warnings (doesn't include E_STRICT)
|
| 270 | +; E_ERROR - fatal run-time errors
|
| 271 | +; E_RECOVERABLE_ERROR - almost fatal run-time errors
|
| 272 | +; E_WARNING - run-time warnings (non-fatal errors)
|
| 273 | +; E_PARSE - compile-time parse errors
|
| 274 | +; E_NOTICE - run-time notices (these are warnings which often result
|
| 275 | +; from a bug in your code, but it's possible that it was
|
| 276 | +; intentional (e.g., using an uninitialized variable and
|
| 277 | +; relying on the fact it's automatically initialized to an
|
| 278 | +; empty string)
|
| 279 | +; E_STRICT - run-time notices, enable to have PHP suggest changes
|
| 280 | +; to your code which will ensure the best interoperability
|
| 281 | +; and forward compatibility of your code
|
| 282 | +; E_CORE_ERROR - fatal errors that occur during PHP's initial startup
|
| 283 | +; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's
|
| 284 | +; initial startup
|
| 285 | +; E_COMPILE_ERROR - fatal compile-time errors
|
| 286 | +; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
|
| 287 | +; E_USER_ERROR - user-generated error message
|
| 288 | +; E_USER_WARNING - user-generated warning message
|
| 289 | +; E_USER_NOTICE - user-generated notice message
|
| 290 | +;
|
| 291 | +; Examples:
|
| 292 | +;
|
| 293 | +; - Show all errors, except for notices and coding standards warnings
|
| 294 | +;
|
| 295 | +;error_reporting = E_ALL & ~E_NOTICE
|
| 296 | +;
|
| 297 | +; - Show all errors, except for notices
|
| 298 | +;
|
| 299 | +;error_reporting = E_ALL & ~E_NOTICE | E_STRICT
|
| 300 | +;
|
| 301 | +; - Show only errors
|
| 302 | +;
|
| 303 | +;error_reporting = E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR
|
| 304 | +;
|
| 305 | +; - Show all errors except for notices and coding standards warnings
|
| 306 | +;
|
| 307 | +;;wikiSDK: modified to all errors to help developers catch even the minor mistakes to fix.
|
| 308 | +error_reporting = E_ALL | E_STRICT
|
| 309 | +
|
| 310 | +; Print out errors (as a part of the output). For production web sites,
|
| 311 | +; you're strongly encouraged to turn this feature off, and use error logging
|
| 312 | +; instead (see below). Keeping display_errors enabled on a production web site
|
| 313 | +; may reveal security information to end users, such as file paths on your Web
|
| 314 | +; server, your database schema or other information.
|
| 315 | +;
|
| 316 | +; possible values for display_errors:
|
| 317 | +;
|
| 318 | +; Off - Do not display any errors
|
| 319 | +; stderr - Display errors to STDERR (affects only CGI/CLI binaries!)
|
| 320 | +;
|
| 321 | +;display_errors = "stderr"
|
| 322 | +;
|
| 323 | +; stdout (On) - Display errors to STDOUT
|
| 324 | +;
|
| 325 | +display_errors = On
|
| 326 | +
|
| 327 | +; Even when display_errors is on, errors that occur during PHP's startup
|
| 328 | +; sequence are not displayed. It's strongly recommended to keep
|
| 329 | +; display_startup_errors off, except for when debugging.
|
| 330 | +display_startup_errors = Off
|
| 331 | +
|
| 332 | +; Log errors into a log file (server-specific log, stderr, or error_log (below))
|
| 333 | +; As stated above, you're strongly advised to use error logging in place of
|
| 334 | +; error displaying on production web sites.
|
| 335 | +log_errors = Off
|
| 336 | +
|
| 337 | +; Set maximum length of log_errors. In error_log information about the source is
|
| 338 | +; added. The default is 1024 and 0 allows to not apply any maximum length at all.
|
| 339 | +log_errors_max_len = 1024
|
| 340 | +
|
| 341 | +; Do not log repeated messages. Repeated errors must occur in same file on same
|
| 342 | +; line until ignore_repeated_source is set true.
|
| 343 | +ignore_repeated_errors = Off
|
| 344 | +
|
| 345 | +; Ignore source of message when ignoring repeated messages. When this setting
|
| 346 | +; is On you will not log errors with repeated messages from different files or
|
| 347 | +; source lines.
|
| 348 | +ignore_repeated_source = Off
|
| 349 | +
|
| 350 | +; If this parameter is set to Off, then memory leaks will not be shown (on
|
| 351 | +; stdout or in the log). This has only effect in a debug compile, and if
|
| 352 | +; error reporting includes E_WARNING in the allowed list
|
| 353 | +report_memleaks = On
|
| 354 | +
|
| 355 | +;report_zend_debug = 0
|
| 356 | +
|
| 357 | +; Store the last error/warning message in $php_errormsg (boolean).
|
| 358 | +track_errors = Off
|
| 359 | +
|
| 360 | +; Disable the inclusion of HTML tags in error messages.
|
| 361 | +; Note: Never use this feature for production boxes.
|
| 362 | +;html_errors = Off
|
| 363 | +
|
| 364 | +; If html_errors is set On PHP produces clickable error messages that direct
|
| 365 | +; to a page describing the error or function causing the error in detail.
|
| 366 | +; You can download a copy of the PHP manual from http://www.php.net/docs.php
|
| 367 | +; and change docref_root to the base URL of your local copy including the
|
| 368 | +; leading '/'. You must also specify the file extension being used including
|
| 369 | +; the dot.
|
| 370 | +; Note: Never use this feature for production boxes.
|
| 371 | +;docref_root = "/phpmanual/"
|
| 372 | +;docref_ext = .html
|
| 373 | +
|
| 374 | +; String to output before an error message.
|
| 375 | +;error_prepend_string = "<font color=#ff0000>"
|
| 376 | +
|
| 377 | +; String to output after an error message.
|
| 378 | +;error_append_string = "</font>"
|
| 379 | +
|
| 380 | +; Log errors to specified file.
|
| 381 | +;error_log = filename
|
| 382 | +
|
| 383 | +; Log errors to syslog (Event Log on NT, not valid in Windows 95).
|
| 384 | +;error_log = syslog
|
| 385 | +
|
| 386 | +
|
| 387 | +;;;;;;;;;;;;;;;;;
|
| 388 | +; Data Handling ;
|
| 389 | +;;;;;;;;;;;;;;;;;
|
| 390 | +;
|
| 391 | +; Note - track_vars is ALWAYS enabled as of PHP 4.0.3
|
| 392 | +
|
| 393 | +; The separator used in PHP generated URLs to separate arguments.
|
| 394 | +; Default is "&".
|
| 395 | +;arg_separator.output = "&"
|
| 396 | +
|
| 397 | +; List of separator(s) used by PHP to parse input URLs into variables.
|
| 398 | +; Default is "&".
|
| 399 | +; NOTE: Every character in this directive is considered as separator!
|
| 400 | +;arg_separator.input = ";&"
|
| 401 | +
|
| 402 | +; This directive describes the order in which PHP registers GET, POST, Cookie,
|
| 403 | +; Environment and Built-in variables (G, P, C, E & S respectively, often
|
| 404 | +; referred to as EGPCS or GPC). Registration is done from left to right, newer
|
| 405 | +; values override older values.
|
| 406 | +variables_order = "EGPCS"
|
| 407 | +
|
| 408 | +; Whether or not to register the EGPCS variables as global variables. You may
|
| 409 | +; want to turn this off if you don't want to clutter your scripts' global scope
|
| 410 | +; with user data. This makes most sense when coupled with track_vars - in which
|
| 411 | +; case you can access all of the GPC variables through the $HTTP_*_VARS[],
|
| 412 | +; variables.
|
| 413 | +;
|
| 414 | +; You should do your best to write your scripts so that they do not require
|
| 415 | +; register_globals to be on; Using form variables as globals can easily lead
|
| 416 | +; to possible security problems, if the code is not very well thought of.
|
| 417 | +register_globals = Off
|
| 418 | +
|
| 419 | +; Whether or not to register the old-style input arrays, HTTP_GET_VARS
|
| 420 | +; and friends. If you're not using them, it's recommended to turn them off,
|
| 421 | +; for performance reasons.
|
| 422 | +register_long_arrays = On
|
| 423 | +
|
| 424 | +; This directive tells PHP whether to declare the argv&argc variables (that
|
| 425 | +; would contain the GET information). If you don't use these variables, you
|
| 426 | +; should turn it off for increased performance.
|
| 427 | +register_argc_argv = On
|
| 428 | +
|
| 429 | +; When enabled, the SERVER and ENV variables are created when they're first
|
| 430 | +; used (Just In Time) instead of when the script starts. If these variables
|
| 431 | +; are not used within a script, having this directive on will result in a
|
| 432 | +; performance gain. The PHP directives register_globals, register_long_arrays,
|
| 433 | +; and register_argc_argv must be disabled for this directive to have any affect.
|
| 434 | +auto_globals_jit = On
|
| 435 | +
|
| 436 | +; Maximum size of POST data that PHP will accept.
|
| 437 | +;;wikiSDK: changed from 8M to 20M for imports and such other large posts developers may be making.
|
| 438 | +post_max_size = 20M
|
| 439 | +
|
| 440 | +; Magic quotes
|
| 441 | +;
|
| 442 | +
|
| 443 | +; Magic quotes for incoming GET/POST/Cookie data.
|
| 444 | +magic_quotes_gpc = On
|
| 445 | +
|
| 446 | +; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
|
| 447 | +magic_quotes_runtime = Off
|
| 448 | +
|
| 449 | +; Use Sybase-style magic quotes (escape ' with '' instead of \').
|
| 450 | +magic_quotes_sybase = Off
|
| 451 | +
|
| 452 | +; Automatically add files before or after any PHP document.
|
| 453 | +auto_prepend_file =
|
| 454 | +auto_append_file =
|
| 455 | +
|
| 456 | +; As of 4.0b4, PHP always outputs a character encoding by default in
|
| 457 | +; the Content-type: header. To disable sending of the charset, simply
|
| 458 | +; set it to be empty.
|
| 459 | +;
|
| 460 | +; PHP's built-in default is text/html
|
| 461 | +default_mimetype = "text/html"
|
| 462 | +;default_charset = "iso-8859-1"
|
| 463 | +
|
| 464 | +; Always populate the $HTTP_RAW_POST_DATA variable.
|
| 465 | +;always_populate_raw_post_data = On
|
| 466 | +
|
| 467 | +
|
| 468 | +;;;;;;;;;;;;;;;;;;;;;;;;;
|
| 469 | +; Paths and Directories ;
|
| 470 | +;;;;;;;;;;;;;;;;;;;;;;;;;
|
| 471 | +
|
| 472 | +; UNIX: "/path1:/path2"
|
| 473 | +;include_path = ".:/php/includes"
|
| 474 | +;
|
| 475 | +; Windows: "\path1;\path2"
|
| 476 | +;include_path = ".;c:\php\includes"
|
| 477 | +
|
| 478 | +; The root of the PHP pages, used only if nonempty.
|
| 479 | +; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
|
| 480 | +; if you are running php as a CGI under any web server (other than IIS)
|
| 481 | +; see documentation for security issues. The alternate is to use the
|
| 482 | +; cgi.force_redirect configuration below
|
| 483 | +doc_root =
|
| 484 | +
|
| 485 | +; The directory under which PHP opens the script using /~username used only
|
| 486 | +; if nonempty.
|
| 487 | +user_dir =
|
| 488 | +
|
| 489 | +; Directory in which the loadable extensions (modules) reside.
|
| 490 | +extension_dir = "%phproot%ext\"
|
| 491 | +
|
| 492 | +; Whether or not to enable the dl() function. The dl() function does NOT work
|
| 493 | +; properly in multithreaded servers, such as IIS or Zeus, and is automatically
|
| 494 | +; disabled on them.
|
| 495 | +enable_dl = On
|
| 496 | +
|
| 497 | +; cgi.force_redirect is necessary to provide security running PHP as a CGI under
|
| 498 | +; most web servers. Left undefined, PHP turns this on by default. You can
|
| 499 | +; turn it off here AT YOUR OWN RISK
|
| 500 | +; **You CAN safely turn this off for IIS, in fact, you MUST.**
|
| 501 | +; cgi.force_redirect = 1
|
| 502 | +
|
| 503 | +; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
|
| 504 | +; every request.
|
| 505 | +; cgi.nph = 1
|
| 506 | +
|
| 507 | +; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
|
| 508 | +; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
|
| 509 | +; will look for to know it is OK to continue execution. Setting this variable MAY
|
| 510 | +; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
|
| 511 | +; cgi.redirect_status_env = ;
|
| 512 | +
|
| 513 | +; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. PHP's
|
| 514 | +; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
|
| 515 | +; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting
|
| 516 | +; this to 1 will cause PHP CGI to fix it's paths to conform to the spec. A setting
|
| 517 | +; of zero causes PHP to behave as before. Default is 1. You should fix your scripts
|
| 518 | +; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
|
| 519 | +; cgi.fix_pathinfo=0
|
| 520 | +
|
| 521 | +; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
|
| 522 | +; security tokens of the calling client. This allows IIS to define the
|
| 523 | +; security context that the request runs under. mod_fastcgi under Apache
|
| 524 | +; does not currently support this feature (03/17/2002)
|
| 525 | +; Set to 1 if running under IIS. Default is zero.
|
| 526 | +; fastcgi.impersonate = 1;
|
| 527 | +
|
| 528 | +; Disable logging through FastCGI connection
|
| 529 | +; fastcgi.logging = 0
|
| 530 | +
|
| 531 | +; cgi.rfc2616_headers configuration option tells PHP what type of headers to
|
| 532 | +; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
|
| 533 | +; is supported by Apache. When this option is set to 1 PHP will send
|
| 534 | +; RFC2616 compliant header.
|
| 535 | +; Default is zero.
|
| 536 | +;cgi.rfc2616_headers = 0
|
| 537 | +
|
| 538 | +
|
| 539 | +;;;;;;;;;;;;;;;;
|
| 540 | +; File Uploads ;
|
| 541 | +;;;;;;;;;;;;;;;;
|
| 542 | +
|
| 543 | +; Whether to allow HTTP file uploads.
|
| 544 | +file_uploads = On
|
| 545 | +
|
| 546 | +; Temporary directory for HTTP uploaded files (will use system default if not
|
| 547 | +; specified).
|
| 548 | +;upload_tmp_dir =
|
| 549 | +
|
| 550 | +; Maximum allowed size for uploaded files.
|
| 551 | +;;wikiSDK: changed from 2M to 10M for uploads.
|
| 552 | +upload_max_filesize = 10M
|
| 553 | +
|
| 554 | +
|
| 555 | +;;;;;;;;;;;;;;;;;;
|
| 556 | +; Fopen wrappers ;
|
| 557 | +;;;;;;;;;;;;;;;;;;
|
| 558 | +
|
| 559 | +; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
|
| 560 | +allow_url_fopen = On
|
| 561 | +
|
| 562 | +; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
|
| 563 | +allow_url_include = Off
|
| 564 | +
|
| 565 | +; Define the anonymous ftp password (your email address)
|
| 566 | +;from="john@doe.com"
|
| 567 | +
|
| 568 | +; Define the User-Agent string
|
| 569 | +; user_agent="PHP"
|
| 570 | +
|
| 571 | +; Default timeout for socket based streams (seconds)
|
| 572 | +default_socket_timeout = 60
|
| 573 | +
|
| 574 | +; If your scripts have to deal with files from Macintosh systems,
|
| 575 | +; or you are running on a Mac and need to deal with files from
|
| 576 | +; unix or win32 systems, setting this flag will cause PHP to
|
| 577 | +; automatically detect the EOL character in those files so that
|
| 578 | +; fgets() and file() will work regardless of the source of the file.
|
| 579 | +; auto_detect_line_endings = Off
|
| 580 | +
|
| 581 | +
|
| 582 | +;;;;;;;;;;;;;;;;;;;;;;
|
| 583 | +; Dynamic Extensions ;
|
| 584 | +;;;;;;;;;;;;;;;;;;;;;;
|
| 585 | +;
|
| 586 | +; If you wish to have an extension loaded automatically, use the following
|
| 587 | +; syntax:
|
| 588 | +;
|
| 589 | +; extension=modulename.extension
|
| 590 | +;
|
| 591 | +; For example, on Windows:
|
| 592 | +;
|
| 593 | +; extension=msql.dll
|
| 594 | +;
|
| 595 | +; ... or under UNIX:
|
| 596 | +;
|
| 597 | +; extension=msql.so
|
| 598 | +;
|
| 599 | +; Note that it should be the name of the module only; no directory information
|
| 600 | +; needs to go here. Specify the location of the extension with the
|
| 601 | +; extension_dir directive above.
|
| 602 | +
|
| 603 | +
|
| 604 | +; Windows Extensions
|
| 605 | +; Note that ODBC support is built in, so no dll is needed for it.
|
| 606 | +; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
|
| 607 | +; extension folders as well as the separate PECL DLL download (PHP 5).
|
| 608 | +; Be sure to appropriately set the extension_dir directive.
|
| 609 | +
|
| 610 | +;extension=php_bz2.dll
|
| 611 | +;extension=php_curl.dll
|
| 612 | +;extension=php_dba.dll
|
| 613 | +;extension=php_dbase.dll
|
| 614 | +;extension=php_exif.dll
|
| 615 | +;extension=php_fdf.dll
|
| 616 | +;extension=php_gd2.dll
|
| 617 | +;extension=php_gettext.dll
|
| 618 | +;extension=php_gmp.dll
|
| 619 | +;extension=php_ifx.dll
|
| 620 | +;extension=php_imap.dll
|
| 621 | +;extension=php_interbase.dll
|
| 622 | +;extension=php_ldap.dll
|
| 623 | +;;wikiSDK: multibyte strings enabled
|
| 624 | +extension=php_mbstring.dll
|
| 625 | +;;wikiSDK: mcrypt for phpMyAadmin
|
| 626 | +extension=php_mcrypt.dll
|
| 627 | +;extension=php_mhash.dll
|
| 628 | +;extension=php_mime_magic.dll
|
| 629 | +;extension=php_ming.dll
|
| 630 | +;extension=php_msql.dll
|
| 631 | +;extension=php_mssql.dll
|
| 632 | +;;wikiSDK: mysql enabled for MediaWiki, mysqli enabled for phpMyAdmin.
|
| 633 | +extension=php_mysql.dll
|
| 634 | +extension=php_mysqli.dll
|
| 635 | +;extension=php_oci8.dll
|
| 636 | +;extension=php_openssl.dll
|
| 637 | +;extension=php_pdo.dll
|
| 638 | +;extension=php_pdo_firebird.dll
|
| 639 | +;extension=php_pdo_mssql.dll
|
| 640 | +;extension=php_pdo_mysql.dll
|
| 641 | +;extension=php_pdo_oci.dll
|
| 642 | +;extension=php_pdo_oci8.dll
|
| 643 | +;extension=php_pdo_odbc.dll
|
| 644 | +;extension=php_pdo_pgsql.dll
|
| 645 | +;extension=php_pdo_sqlite.dll
|
| 646 | +;extension=php_pgsql.dll
|
| 647 | +;extension=php_pspell.dll
|
| 648 | +;extension=php_shmop.dll
|
| 649 | +;extension=php_snmp.dll
|
| 650 | +;extension=php_soap.dll
|
| 651 | +;extension=php_sockets.dll
|
| 652 | +;extension=php_sqlite.dll
|
| 653 | +;extension=php_sybase_ct.dll
|
| 654 | +;extension=php_tidy.dll
|
| 655 | +;extension=php_xmlrpc.dll
|
| 656 | +;extension=php_xsl.dll
|
| 657 | +;extension=php_zip.dll
|
| 658 | +
|
| 659 | +;;;;;;;;;;;;;;;;;;;
|
| 660 | +; Module Settings ;
|
| 661 | +;;;;;;;;;;;;;;;;;;;
|
| 662 | +
|
| 663 | +[Date]
|
| 664 | +; Defines the default timezone used by the date functions
|
| 665 | +;date.timezone =
|
| 666 | +
|
| 667 | +;date.default_latitude = 31.7667
|
| 668 | +;date.default_longitude = 35.2333
|
| 669 | +
|
| 670 | +;date.sunrise_zenith = 90.583333
|
| 671 | +;date.sunset_zenith = 90.583333
|
| 672 | +
|
| 673 | +[filter]
|
| 674 | +;filter.default = unsafe_raw
|
| 675 | +;filter.default_flags =
|
| 676 | +
|
| 677 | +[iconv]
|
| 678 | +;iconv.input_encoding = ISO-8859-1
|
| 679 | +;iconv.internal_encoding = ISO-8859-1
|
| 680 | +;iconv.output_encoding = ISO-8859-1
|
| 681 | +
|
| 682 | +[sqlite]
|
| 683 | +;sqlite.assoc_case = 0
|
| 684 | +
|
| 685 | +[xmlrpc]
|
| 686 | +;xmlrpc_error_number = 0
|
| 687 | +;xmlrpc_errors = 0
|
| 688 | +
|
| 689 | +[Pcre]
|
| 690 | +;PCRE library backtracking limit.
|
| 691 | +;pcre.backtrack_limit=100000
|
| 692 | +
|
| 693 | +;PCRE library recursion limit.
|
| 694 | +;Please note that if you set this value to a high number you may consume all
|
| 695 | +;the available process stack and eventually crash PHP (due to reaching the
|
| 696 | +;stack size limit imposed by the Operating System).
|
| 697 | +;pcre.recursion_limit=100000
|
| 698 | +
|
| 699 | +[Syslog]
|
| 700 | +; Whether or not to define the various syslog variables (e.g. $LOG_PID,
|
| 701 | +; $LOG_CRON, etc.). Turning it off is a good idea performance-wise. In
|
| 702 | +; runtime, you can define these variables by calling define_syslog_variables().
|
| 703 | +define_syslog_variables = Off
|
| 704 | +
|
| 705 | +[mail function]
|
| 706 | +; For Win32 only.
|
| 707 | +SMTP = localhost
|
| 708 | +smtp_port = 25
|
| 709 | +
|
| 710 | +; For Win32 only.
|
| 711 | +;sendmail_from = me@example.com
|
| 712 | +
|
| 713 | +; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
|
| 714 | +;sendmail_path =
|
| 715 | +
|
| 716 | +; Force the addition of the specified parameters to be passed as extra parameters
|
| 717 | +; to the sendmail binary. These parameters will always replace the value of
|
| 718 | +; the 5th parameter to mail(), even in safe mode.
|
| 719 | +;mail.force_extra_parameters =
|
| 720 | +
|
| 721 | +[SQL]
|
| 722 | +sql.safe_mode = Off
|
| 723 | +
|
| 724 | +[ODBC]
|
| 725 | +;odbc.default_db = Not yet implemented
|
| 726 | +;odbc.default_user = Not yet implemented
|
| 727 | +;odbc.default_pw = Not yet implemented
|
| 728 | +
|
| 729 | +; Allow or prevent persistent links.
|
| 730 | +odbc.allow_persistent = On
|
| 731 | +
|
| 732 | +; Check that a connection is still valid before reuse.
|
| 733 | +odbc.check_persistent = On
|
| 734 | +
|
| 735 | +; Maximum number of persistent links. -1 means no limit.
|
| 736 | +odbc.max_persistent = -1
|
| 737 | +
|
| 738 | +; Maximum number of links (persistent + non-persistent). -1 means no limit.
|
| 739 | +odbc.max_links = -1
|
| 740 | +
|
| 741 | +; Handling of LONG fields. Returns number of bytes to variables. 0 means
|
| 742 | +; passthru.
|
| 743 | +odbc.defaultlrl = 4096
|
| 744 | +
|
| 745 | +; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char.
|
| 746 | +; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
|
| 747 | +; of uodbc.defaultlrl and uodbc.defaultbinmode
|
| 748 | +odbc.defaultbinmode = 1
|
| 749 | +
|
| 750 | +[MySQL]
|
| 751 | +; Allow or prevent persistent links.
|
| 752 | +mysql.allow_persistent = On
|
| 753 | +
|
| 754 | +; Maximum number of persistent links. -1 means no limit.
|
| 755 | +mysql.max_persistent = -1
|
| 756 | +
|
| 757 | +; Maximum number of links (persistent + non-persistent). -1 means no limit.
|
| 758 | +mysql.max_links = -1
|
| 759 | +
|
| 760 | +; Default port number for mysql_connect(). If unset, mysql_connect() will use
|
| 761 | +; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
|
| 762 | +; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
|
| 763 | +; at MYSQL_PORT.
|
| 764 | +mysql.default_port =
|
| 765 | +
|
| 766 | +; Default socket name for local MySQL connects. If empty, uses the built-in
|
| 767 | +; MySQL defaults.
|
| 768 | +mysql.default_socket =
|
| 769 | +
|
| 770 | +; Default host for mysql_connect() (doesn't apply in safe mode).
|
| 771 | +mysql.default_host =
|
| 772 | +
|
| 773 | +; Default user for mysql_connect() (doesn't apply in safe mode).
|
| 774 | +mysql.default_user =
|
| 775 | +
|
| 776 | +; Default password for mysql_connect() (doesn't apply in safe mode).
|
| 777 | +; Note that this is generally a *bad* idea to store passwords in this file.
|
| 778 | +; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
|
| 779 | +; and reveal this password! And of course, any users with read access to this
|
| 780 | +; file will be able to reveal the password as well.
|
| 781 | +mysql.default_password =
|
| 782 | +
|
| 783 | +; Maximum time (in seconds) for connect timeout. -1 means no limit
|
| 784 | +mysql.connect_timeout = 60
|
| 785 | +
|
| 786 | +; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
|
| 787 | +; SQL-Errors will be displayed.
|
| 788 | +mysql.trace_mode = Off
|
| 789 | +
|
| 790 | +[MySQLi]
|
| 791 | +
|
| 792 | +; Maximum number of links. -1 means no limit.
|
| 793 | +mysqli.max_links = -1
|
| 794 | +
|
| 795 | +; Default port number for mysqli_connect(). If unset, mysqli_connect() will use
|
| 796 | +; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
|
| 797 | +; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
|
| 798 | +; at MYSQL_PORT.
|
| 799 | +mysqli.default_port = 3306
|
| 800 | +
|
| 801 | +; Default socket name for local MySQL connects. If empty, uses the built-in
|
| 802 | +; MySQL defaults.
|
| 803 | +mysqli.default_socket =
|
| 804 | +
|
| 805 | +; Default host for mysql_connect() (doesn't apply in safe mode).
|
| 806 | +mysqli.default_host =
|
| 807 | +
|
| 808 | +; Default user for mysql_connect() (doesn't apply in safe mode).
|
| 809 | +mysqli.default_user =
|
| 810 | +
|
| 811 | +; Default password for mysqli_connect() (doesn't apply in safe mode).
|
| 812 | +; Note that this is generally a *bad* idea to store passwords in this file.
|
| 813 | +; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
|
| 814 | +; and reveal this password! And of course, any users with read access to this
|
| 815 | +; file will be able to reveal the password as well.
|
| 816 | +mysqli.default_pw =
|
| 817 | +
|
| 818 | +; Allow or prevent reconnect
|
| 819 | +mysqli.reconnect = Off
|
| 820 | +
|
| 821 | +[mSQL]
|
| 822 | +; Allow or prevent persistent links.
|
| 823 | +msql.allow_persistent = On
|
| 824 | +
|
| 825 | +; Maximum number of persistent links. -1 means no limit.
|
| 826 | +msql.max_persistent = -1
|
| 827 | +
|
| 828 | +; Maximum number of links (persistent+non persistent). -1 means no limit.
|
| 829 | +msql.max_links = -1
|
| 830 | +
|
| 831 | +[OCI8]
|
| 832 | +; enables privileged connections using external credentials (OCI_SYSOPER, OCI_SYSDBA)
|
| 833 | +;oci8.privileged_connect = Off
|
| 834 | +
|
| 835 | +; Connection: The maximum number of persistent OCI8 connections per
|
| 836 | +; process. Using -1 means no limit.
|
| 837 | +;oci8.max_persistent = -1
|
| 838 | +
|
| 839 | +; Connection: The maximum number of seconds a process is allowed to
|
| 840 | +; maintain an idle persistent connection. Using -1 means idle
|
| 841 | +; persistent connections will be maintained forever.
|
| 842 | +;oci8.persistent_timeout = -1
|
| 843 | +
|
| 844 | +; Connection: The number of seconds that must pass before issuing a
|
| 845 | +; ping during oci_pconnect() to check the connection validity. When
|
| 846 | +; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
|
| 847 | +; pings completely.
|
| 848 | +;oci8.ping_interval = 60
|
| 849 | +
|
| 850 | +; Tuning: This option enables statement caching, and specifies how
|
| 851 | +; many statements to cache. Using 0 disables statement caching.
|
| 852 | +;oci8.statement_cache_size = 20
|
| 853 | +
|
| 854 | +; Tuning: Enables statement prefetching and sets the default number of
|
| 855 | +; rows that will be fetched automatically after statement execution.
|
| 856 | +;oci8.default_prefetch = 10
|
| 857 | +
|
| 858 | +; Compatibility. Using On means oci_close() will not close
|
| 859 | +; oci_connect() and oci_new_connect() connections.
|
| 860 | +;oci8.old_oci_close_semantics = Off
|
| 861 | +
|
| 862 | +[PostgresSQL]
|
| 863 | +; Allow or prevent persistent links.
|
| 864 | +pgsql.allow_persistent = On
|
| 865 | +
|
| 866 | +; Detect broken persistent links always with pg_pconnect().
|
| 867 | +; Auto reset feature requires a little overheads.
|
| 868 | +pgsql.auto_reset_persistent = Off
|
| 869 | +
|
| 870 | +; Maximum number of persistent links. -1 means no limit.
|
| 871 | +pgsql.max_persistent = -1
|
| 872 | +
|
| 873 | +; Maximum number of links (persistent+non persistent). -1 means no limit.
|
| 874 | +pgsql.max_links = -1
|
| 875 | +
|
| 876 | +; Ignore PostgreSQL backends Notice message or not.
|
| 877 | +; Notice message logging require a little overheads.
|
| 878 | +pgsql.ignore_notice = 0
|
| 879 | +
|
| 880 | +; Log PostgreSQL backends Noitce message or not.
|
| 881 | +; Unless pgsql.ignore_notice=0, module cannot log notice message.
|
| 882 | +pgsql.log_notice = 0
|
| 883 | +
|
| 884 | +[Sybase]
|
| 885 | +; Allow or prevent persistent links.
|
| 886 | +sybase.allow_persistent = On
|
| 887 | +
|
| 888 | +; Maximum number of persistent links. -1 means no limit.
|
| 889 | +sybase.max_persistent = -1
|
| 890 | +
|
| 891 | +; Maximum number of links (persistent + non-persistent). -1 means no limit.
|
| 892 | +sybase.max_links = -1
|
| 893 | +
|
| 894 | +;sybase.interface_file = "/usr/sybase/interfaces"
|
| 895 | +
|
| 896 | +; Minimum error severity to display.
|
| 897 | +sybase.min_error_severity = 10
|
| 898 | +
|
| 899 | +; Minimum message severity to display.
|
| 900 | +sybase.min_message_severity = 10
|
| 901 | +
|
| 902 | +; Compatibility mode with old versions of PHP 3.0.
|
| 903 | +; If on, this will cause PHP to automatically assign types to results according
|
| 904 | +; to their Sybase type, instead of treating them all as strings. This
|
| 905 | +; compatibility mode will probably not stay around forever, so try applying
|
| 906 | +; whatever necessary changes to your code, and turn it off.
|
| 907 | +sybase.compatability_mode = Off
|
| 908 | +
|
| 909 | +[Sybase-CT]
|
| 910 | +; Allow or prevent persistent links.
|
| 911 | +sybct.allow_persistent = On
|
| 912 | +
|
| 913 | +; Maximum number of persistent links. -1 means no limit.
|
| 914 | +sybct.max_persistent = -1
|
| 915 | +
|
| 916 | +; Maximum number of links (persistent + non-persistent). -1 means no limit.
|
| 917 | +sybct.max_links = -1
|
| 918 | +
|
| 919 | +; Minimum server message severity to display.
|
| 920 | +sybct.min_server_severity = 10
|
| 921 | +
|
| 922 | +; Minimum client message severity to display.
|
| 923 | +sybct.min_client_severity = 10
|
| 924 | +
|
| 925 | +[bcmath]
|
| 926 | +; Number of decimal digits for all bcmath functions.
|
| 927 | +bcmath.scale = 0
|
| 928 | +
|
| 929 | +[browscap]
|
| 930 | +;browscap = extra/browscap.ini
|
| 931 | +
|
| 932 | +[Informix]
|
| 933 | +; Default host for ifx_connect() (doesn't apply in safe mode).
|
| 934 | +ifx.default_host =
|
| 935 | +
|
| 936 | +; Default user for ifx_connect() (doesn't apply in safe mode).
|
| 937 | +ifx.default_user =
|
| 938 | +
|
| 939 | +; Default password for ifx_connect() (doesn't apply in safe mode).
|
| 940 | +ifx.default_password =
|
| 941 | +
|
| 942 | +; Allow or prevent persistent links.
|
| 943 | +ifx.allow_persistent = On
|
| 944 | +
|
| 945 | +; Maximum number of persistent links. -1 means no limit.
|
| 946 | +ifx.max_persistent = -1
|
| 947 | +
|
| 948 | +; Maximum number of links (persistent + non-persistent). -1 means no limit.
|
| 949 | +ifx.max_links = -1
|
| 950 | +
|
| 951 | +; If on, select statements return the contents of a text blob instead of its id.
|
| 952 | +ifx.textasvarchar = 0
|
| 953 | +
|
| 954 | +; If on, select statements return the contents of a byte blob instead of its id.
|
| 955 | +ifx.byteasvarchar = 0
|
| 956 | +
|
| 957 | +; Trailing blanks are stripped from fixed-length char columns. May help the
|
| 958 | +; life of Informix SE users.
|
| 959 | +ifx.charasvarchar = 0
|
| 960 | +
|
| 961 | +; If on, the contents of text and byte blobs are dumped to a file instead of
|
| 962 | +; keeping them in memory.
|
| 963 | +ifx.blobinfile = 0
|
| 964 | +
|
| 965 | +; NULL's are returned as empty strings, unless this is set to 1. In that case,
|
| 966 | +; NULL's are returned as string 'NULL'.
|
| 967 | +ifx.nullformat = 0
|
| 968 | +
|
| 969 | +[Session]
|
| 970 | +; Handler used to store/retrieve data.
|
| 971 | +session.save_handler = files
|
| 972 | +
|
| 973 | +; Argument passed to save_handler. In the case of files, this is the path
|
| 974 | +; where data files are stored. Note: Windows users have to change this
|
| 975 | +; variable in order to use PHP's session functions.
|
| 976 | +;
|
| 977 | +; As of PHP 4.0.1, you can define the path as:
|
| 978 | +;
|
| 979 | +; session.save_path = "N;/path"
|
| 980 | +;
|
| 981 | +; where N is an integer. Instead of storing all the session files in
|
| 982 | +; /path, what this will do is use subdirectories N-levels deep, and
|
| 983 | +; store the session data in those directories. This is useful if you
|
| 984 | +; or your OS have problems with lots of files in one directory, and is
|
| 985 | +; a more efficient layout for servers that handle lots of sessions.
|
| 986 | +;
|
| 987 | +; NOTE 1: PHP will not create this directory structure automatically.
|
| 988 | +; You can use the script in the ext/session dir for that purpose.
|
| 989 | +; NOTE 2: See the section on garbage collection below if you choose to
|
| 990 | +; use subdirectories for session storage
|
| 991 | +;
|
| 992 | +; The file storage module creates files using mode 600 by default.
|
| 993 | +; You can change that by using
|
| 994 | +;
|
| 995 | +; session.save_path = "N;MODE;/path"
|
| 996 | +;
|
| 997 | +; where MODE is the octal representation of the mode. Note that this
|
| 998 | +; does not overwrite the process's umask.
|
| 999 | +;session.save_path = "/tmp"
|
| 1000 | +
|
| 1001 | +; Whether to use cookies.
|
| 1002 | +session.use_cookies = 1
|
| 1003 | +
|
| 1004 | +;session.cookie_secure =
|
| 1005 | +
|
| 1006 | +; This option enables administrators to make their users invulnerable to
|
| 1007 | +; attacks which involve passing session ids in URLs; defaults to 0.
|
| 1008 | +; session.use_only_cookies = 1
|
| 1009 | +
|
| 1010 | +; Name of the session (used as cookie name).
|
| 1011 | +session.name = PHPSESSID
|
| 1012 | +
|
| 1013 | +; Initialize session on request startup.
|
| 1014 | +session.auto_start = 0
|
| 1015 | +
|
| 1016 | +; Lifetime in seconds of cookie or, if 0, until browser is restarted.
|
| 1017 | +session.cookie_lifetime = 0
|
| 1018 | +
|
| 1019 | +; The path for which the cookie is valid.
|
| 1020 | +session.cookie_path = /
|
| 1021 | +
|
| 1022 | +; The domain for which the cookie is valid.
|
| 1023 | +session.cookie_domain =
|
| 1024 | +
|
| 1025 | +; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
|
| 1026 | +session.cookie_httponly =
|
| 1027 | +
|
| 1028 | +; Handler used to serialize data. php is the standard serializer of PHP.
|
| 1029 | +session.serialize_handler = php
|
| 1030 | +
|
| 1031 | +; Define the probability that the 'garbage collection' process is started
|
| 1032 | +; on every session initialization.
|
| 1033 | +; The probability is calculated by using gc_probability/gc_divisor,
|
| 1034 | +; e.g. 1/100 means there is a 1% chance that the GC process starts
|
| 1035 | +; on each request.
|
| 1036 | +
|
| 1037 | +session.gc_probability = 1
|
| 1038 | +session.gc_divisor = 100
|
| 1039 | +
|
| 1040 | +; After this number of seconds, stored data will be seen as 'garbage' and
|
| 1041 | +; cleaned up by the garbage collection process.
|
| 1042 | +session.gc_maxlifetime = 1440
|
| 1043 | +
|
| 1044 | +; NOTE: If you are using the subdirectory option for storing session files
|
| 1045 | +; (see session.save_path above), then garbage collection does *not*
|
| 1046 | +; happen automatically. You will need to do your own garbage
|
| 1047 | +; collection through a shell script, cron entry, or some other method.
|
| 1048 | +; For example, the following script would is the equivalent of
|
| 1049 | +; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
|
| 1050 | +; cd /path/to/sessions; find -cmin +24 | xargs rm
|
| 1051 | +
|
| 1052 | +; PHP 4.2 and less have an undocumented feature/bug that allows you to
|
| 1053 | +; to initialize a session variable in the global scope, albeit register_globals
|
| 1054 | +; is disabled. PHP 4.3 and later will warn you, if this feature is used.
|
| 1055 | +; You can disable the feature and the warning separately. At this time,
|
| 1056 | +; the warning is only displayed, if bug_compat_42 is enabled.
|
| 1057 | +
|
| 1058 | +session.bug_compat_42 = 1
|
| 1059 | +session.bug_compat_warn = 1
|
| 1060 | +
|
| 1061 | +; Check HTTP Referer to invalidate externally stored URLs containing ids.
|
| 1062 | +; HTTP_REFERER has to contain this substring for the session to be
|
| 1063 | +; considered as valid.
|
| 1064 | +session.referer_check =
|
| 1065 | +
|
| 1066 | +; How many bytes to read from the file.
|
| 1067 | +session.entropy_length = 0
|
| 1068 | +
|
| 1069 | +; Specified here to create the session id.
|
| 1070 | +session.entropy_file =
|
| 1071 | +
|
| 1072 | +;session.entropy_length = 16
|
| 1073 | +
|
| 1074 | +;session.entropy_file = /dev/urandom
|
| 1075 | +
|
| 1076 | +; Set to {nocache,private,public,} to determine HTTP caching aspects
|
| 1077 | +; or leave this empty to avoid sending anti-caching headers.
|
| 1078 | +session.cache_limiter = nocache
|
| 1079 | +
|
| 1080 | +; Document expires after n minutes.
|
| 1081 | +session.cache_expire = 180
|
| 1082 | +
|
| 1083 | +; trans sid support is disabled by default.
|
| 1084 | +; Use of trans sid may risk your users security.
|
| 1085 | +; Use this option with caution.
|
| 1086 | +; - User may send URL contains active session ID
|
| 1087 | +; to other person via. email/irc/etc.
|
| 1088 | +; - URL that contains active session ID may be stored
|
| 1089 | +; in publically accessible computer.
|
| 1090 | +; - User may access your site with the same session ID
|
| 1091 | +; always using URL stored in browser's history or bookmarks.
|
| 1092 | +session.use_trans_sid = 0
|
| 1093 | +
|
| 1094 | +; Select a hash function
|
| 1095 | +; 0: MD5 (128 bits)
|
| 1096 | +; 1: SHA-1 (160 bits)
|
| 1097 | +session.hash_function = 0
|
| 1098 | +
|
| 1099 | +; Define how many bits are stored in each character when converting
|
| 1100 | +; the binary hash data to something readable.
|
| 1101 | +;
|
| 1102 | +; 4 bits: 0-9, a-f
|
| 1103 | +; 5 bits: 0-9, a-v
|
| 1104 | +; 6 bits: 0-9, a-z, A-Z, "-", ","
|
| 1105 | +session.hash_bits_per_character = 4
|
| 1106 | +
|
| 1107 | +; The URL rewriter will look for URLs in a defined set of HTML tags.
|
| 1108 | +; form/fieldset are special; if you include them here, the rewriter will
|
| 1109 | +; add a hidden <input> field with the info which is otherwise appended
|
| 1110 | +; to URLs. If you want XHTML conformity, remove the form entry.
|
| 1111 | +; Note that all valid entries require a "=", even if no value follows.
|
| 1112 | +url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
|
| 1113 | +
|
| 1114 | +[MSSQL]
|
| 1115 | +; Allow or prevent persistent links.
|
| 1116 | +mssql.allow_persistent = On
|
| 1117 | +
|
| 1118 | +; Maximum number of persistent links. -1 means no limit.
|
| 1119 | +mssql.max_persistent = -1
|
| 1120 | +
|
| 1121 | +; Maximum number of links (persistent+non persistent). -1 means no limit.
|
| 1122 | +mssql.max_links = -1
|
| 1123 | +
|
| 1124 | +; Minimum error severity to display.
|
| 1125 | +mssql.min_error_severity = 10
|
| 1126 | +
|
| 1127 | +; Minimum message severity to display.
|
| 1128 | +mssql.min_message_severity = 10
|
| 1129 | +
|
| 1130 | +; Compatibility mode with old versions of PHP 3.0.
|
| 1131 | +mssql.compatability_mode = Off
|
| 1132 | +
|
| 1133 | +; Connect timeout
|
| 1134 | +;mssql.connect_timeout = 5
|
| 1135 | +
|
| 1136 | +; Query timeout
|
| 1137 | +;mssql.timeout = 60
|
| 1138 | +
|
| 1139 | +; Valid range 0 - 2147483647. Default = 4096.
|
| 1140 | +;mssql.textlimit = 4096
|
| 1141 | +
|
| 1142 | +; Valid range 0 - 2147483647. Default = 4096.
|
| 1143 | +;mssql.textsize = 4096
|
| 1144 | +
|
| 1145 | +; Limits the number of records in each batch. 0 = all records in one batch.
|
| 1146 | +;mssql.batchsize = 0
|
| 1147 | +
|
| 1148 | +; Specify how datetime and datetim4 columns are returned
|
| 1149 | +; On => Returns data converted to SQL server settings
|
| 1150 | +; Off => Returns values as YYYY-MM-DD hh:mm:ss
|
| 1151 | +;mssql.datetimeconvert = On
|
| 1152 | +
|
| 1153 | +; Use NT authentication when connecting to the server
|
| 1154 | +mssql.secure_connection = Off
|
| 1155 | +
|
| 1156 | +; Specify max number of processes. -1 = library default
|
| 1157 | +; msdlib defaults to 25
|
| 1158 | +; FreeTDS defaults to 4096
|
| 1159 | +;mssql.max_procs = -1
|
| 1160 | +
|
| 1161 | +; Specify client character set.
|
| 1162 | +; If empty or not set the client charset from freetds.comf is used
|
| 1163 | +; This is only used when compiled with FreeTDS
|
| 1164 | +;mssql.charset = "ISO-8859-1"
|
| 1165 | +
|
| 1166 | +[Assertion]
|
| 1167 | +; Assert(expr); active by default.
|
| 1168 | +;assert.active = On
|
| 1169 | +
|
| 1170 | +; Issue a PHP warning for each failed assertion.
|
| 1171 | +;assert.warning = On
|
| 1172 | +
|
| 1173 | +; Don't bail out by default.
|
| 1174 | +;assert.bail = Off
|
| 1175 | +
|
| 1176 | +; User-function to be called if an assertion fails.
|
| 1177 | +;assert.callback = 0
|
| 1178 | +
|
| 1179 | +; Eval the expression with current error_reporting(). Set to true if you want
|
| 1180 | +; error_reporting(0) around the eval().
|
| 1181 | +;assert.quiet_eval = 0
|
| 1182 | +
|
| 1183 | +[COM]
|
| 1184 | +; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
|
| 1185 | +;com.typelib_file =
|
| 1186 | +; allow Distributed-COM calls
|
| 1187 | +;com.allow_dcom = true
|
| 1188 | +; autoregister constants of a components typlib on com_load()
|
| 1189 | +;com.autoregister_typelib = true
|
| 1190 | +; register constants casesensitive
|
| 1191 | +;com.autoregister_casesensitive = false
|
| 1192 | +; show warnings on duplicate constant registrations
|
| 1193 | +;com.autoregister_verbose = true
|
| 1194 | +
|
| 1195 | +[mbstring]
|
| 1196 | +; language for internal character representation.
|
| 1197 | +;mbstring.language = Japanese
|
| 1198 | +
|
| 1199 | +; internal/script encoding.
|
| 1200 | +; Some encoding cannot work as internal encoding.
|
| 1201 | +; (e.g. SJIS, BIG5, ISO-2022-*)
|
| 1202 | +;mbstring.internal_encoding = EUC-JP
|
| 1203 | +
|
| 1204 | +; http input encoding.
|
| 1205 | +;mbstring.http_input = auto
|
| 1206 | +
|
| 1207 | +; http output encoding. mb_output_handler must be
|
| 1208 | +; registered as output buffer to function
|
| 1209 | +;mbstring.http_output = SJIS
|
| 1210 | +
|
| 1211 | +; enable automatic encoding translation according to
|
| 1212 | +; mbstring.internal_encoding setting. Input chars are
|
| 1213 | +; converted to internal encoding by setting this to On.
|
| 1214 | +; Note: Do _not_ use automatic encoding translation for
|
| 1215 | +; portable libs/applications.
|
| 1216 | +;mbstring.encoding_translation = Off
|
| 1217 | +
|
| 1218 | +; automatic encoding detection order.
|
| 1219 | +; auto means
|
| 1220 | +;mbstring.detect_order = auto
|
| 1221 | +
|
| 1222 | +; substitute_character used when character cannot be converted
|
| 1223 | +; one from another
|
| 1224 | +;mbstring.substitute_character = none;
|
| 1225 | +
|
| 1226 | +; overload(replace) single byte functions by mbstring functions.
|
| 1227 | +; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
|
| 1228 | +; etc. Possible values are 0,1,2,4 or combination of them.
|
| 1229 | +; For example, 7 for overload everything.
|
| 1230 | +; 0: No overload
|
| 1231 | +; 1: Overload mail() function
|
| 1232 | +; 2: Overload str*() functions
|
| 1233 | +; 4: Overload ereg*() functions
|
| 1234 | +;mbstring.func_overload = 0
|
| 1235 | +
|
| 1236 | +[FrontBase]
|
| 1237 | +;fbsql.allow_persistent = On
|
| 1238 | +;fbsql.autocommit = On
|
| 1239 | +;fbsql.show_timestamp_decimals = Off
|
| 1240 | +;fbsql.default_database =
|
| 1241 | +;fbsql.default_database_password =
|
| 1242 | +;fbsql.default_host =
|
| 1243 | +;fbsql.default_password =
|
| 1244 | +;fbsql.default_user = "_SYSTEM"
|
| 1245 | +;fbsql.generate_warnings = Off
|
| 1246 | +;fbsql.max_connections = 128
|
| 1247 | +;fbsql.max_links = 128
|
| 1248 | +;fbsql.max_persistent = -1
|
| 1249 | +;fbsql.max_results = 128
|
| 1250 | +
|
| 1251 | +[gd]
|
| 1252 | +; Tell the jpeg decode to libjpeg warnings and try to create
|
| 1253 | +; a gd image. The warning will then be displayed as notices
|
| 1254 | +; disabled by default
|
| 1255 | +;gd.jpeg_ignore_warning = 0
|
| 1256 | +
|
| 1257 | +[exif]
|
| 1258 | +; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
|
| 1259 | +; With mbstring support this will automatically be converted into the encoding
|
| 1260 | +; given by corresponding encode setting. When empty mbstring.internal_encoding
|
| 1261 | +; is used. For the decode settings you can distinguish between motorola and
|
| 1262 | +; intel byte order. A decode setting cannot be empty.
|
| 1263 | +;exif.encode_unicode = ISO-8859-15
|
| 1264 | +;exif.decode_unicode_motorola = UCS-2BE
|
| 1265 | +;exif.decode_unicode_intel = UCS-2LE
|
| 1266 | +;exif.encode_jis =
|
| 1267 | +;exif.decode_jis_motorola = JIS
|
| 1268 | +;exif.decode_jis_intel = JIS
|
| 1269 | +
|
| 1270 | +[Tidy]
|
| 1271 | +; The path to a default tidy configuration file to use when using tidy
|
| 1272 | +;tidy.default_config = /usr/local/lib/php/default.tcfg
|
| 1273 | +
|
| 1274 | +; Should tidy clean and repair output automatically?
|
| 1275 | +; WARNING: Do not use this option if you are generating non-html content
|
| 1276 | +; such as dynamic images
|
| 1277 | +tidy.clean_output = Off
|
| 1278 | +
|
| 1279 | +[soap]
|
| 1280 | +; Enables or disables WSDL caching feature.
|
| 1281 | +soap.wsdl_cache_enabled=1
|
| 1282 | +; Sets the directory name where SOAP extension will put cache files.
|
| 1283 | +soap.wsdl_cache_dir="/tmp"
|
| 1284 | +; (time to live) Sets the number of second while cached file will be used
|
| 1285 | +; instead of original one.
|
| 1286 | +soap.wsdl_cache_ttl=86400
|
| 1287 | +
|
| 1288 | +; Local Variables:
|
| 1289 | +; tab-width: 4
|
| 1290 | +; End:
|
Index: trunk/wikiSDK/scriptRes/Xerver2.cfg |
— | — | @@ -0,0 +1,14 @@ |
| 2 | +%port%
|
| 3 | +index.php,index.html,index.htm
|
| 4 | +%htdocs%*
|
| 5 | +
|
| 6 | +%htdocs%
|
| 7 | +php=%phproot%php-cgi -c "%phpini%"
|
| 8 | +
|
| 9 | +
|
| 10 | +1
|
| 11 | +0
|
| 12 | +0
|
| 13 | +1
|
| 14 | +1
|
| 15 | +%logfile% |
\ No newline at end of file |
Property changes on: trunk/wikiSDK |
___________________________________________________________________ |
Added: svn:ignore |
1 | 16 | + php.ini |