]>
Commit | Line | Data |
---|---|---|
a52e6f00 ER |
1 | --- php-5.3.1/php.ini 2010-02-20 16:23:03.343575520 +0200 |
2 | +++ php-5.3.1/php.ini 2010-02-20 16:19:19.737335390 +0200 | |
3 | @@ -223,7 +223,7 @@ | |
4 | ; Development Value: Off | |
5 | ; Production Value: Off | |
6 | ; http://php.net/short-open-tag | |
7 | -short_open_tag = Off | |
8 | +short_open_tag = On | |
9 | ||
10 | ; Allow ASP-style <% %> tags. | |
11 | ; http://php.net/asp-tags | |
b45729b9 AM |
12 | @@ -428,7 +428,7 @@ |
13 | ; threat in any way, but it makes it possible to determine whether you use PHP | |
14 | ; on your server or not. | |
15 | ; http://php.net/expose-php | |
16 | -expose_php = On | |
17 | +expose_php = Off | |
18 | ||
19 | ;;;;;;;;;;;;;;;;;;; | |
20 | ; Resource Limits ; | |
21 | @@ -583,7 +583,7 @@ | |
22 | ; Development Value: On | |
23 | ; Production Value: Off | |
24 | ; http://php.net/track-errors | |
25 | -track_errors = Off | |
26 | +track_errors = On | |
27 | ||
28 | ; Turn off normal error reporting and emit XML-RPC error XML | |
29 | ; http://php.net/xmlrpc-errors | |
2129049b | 30 | @@ -804,7 +804,7 @@ |
b45729b9 AM |
31 | |
32 | ; Directory in which the loadable extensions (modules) reside. | |
33 | ; http://php.net/extension-dir | |
34 | -; extension_dir = "./" | |
35 | +extension_dir = "/usr/lib/php" | |
36 | ; On windows: | |
37 | ; extension_dir = "ext" | |
38 | ||
a52e6f00 ER |
39 | @@ -812,54 +812,7 @@ |
40 | ; properly in multithreaded servers, such as IIS or Zeus, and is automatically | |
41 | ; disabled on them. | |
b45729b9 | 42 | ; http://php.net/enable-dl |
a52e6f00 ER |
43 | -enable_dl = Off |
44 | - | |
b45729b9 AM |
45 | -; cgi.force_redirect is necessary to provide security running PHP as a CGI under |
46 | -; most web servers. Left undefined, PHP turns this on by default. You can | |
47 | -; turn it off here AT YOUR OWN RISK | |
48 | -; **You CAN safely turn this off for IIS, in fact, you MUST.** | |
49 | -; http://php.net/cgi.force-redirect | |
50 | -;cgi.force_redirect = 1 | |
51 | - | |
52 | -; if cgi.nph is enabled it will force cgi to always sent Status: 200 with | |
53 | -; every request. PHP's default behavior is to disable this feature. | |
54 | -;cgi.nph = 1 | |
55 | - | |
56 | -; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape | |
57 | -; (iPlanet) web servers, you MAY need to set an environment variable name that PHP | |
58 | -; will look for to know it is OK to continue execution. Setting this variable MAY | |
59 | -; cause security issues, KNOW WHAT YOU ARE DOING FIRST. | |
60 | -; http://php.net/cgi.redirect-status-env | |
61 | -;cgi.redirect_status_env = ; | |
62 | - | |
63 | -; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. PHP's | |
64 | -; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok | |
65 | -; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting | |
66 | -; this to 1 will cause PHP CGI to fix its paths to conform to the spec. A setting | |
67 | -; of zero causes PHP to behave as before. Default is 1. You should fix your scripts | |
68 | -; to use SCRIPT_FILENAME rather than PATH_TRANSLATED. | |
69 | -; http://php.net/cgi.fix-pathinfo | |
70 | -;cgi.fix_pathinfo=1 | |
71 | - | |
72 | -; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate | |
73 | -; security tokens of the calling client. This allows IIS to define the | |
74 | -; security context that the request runs under. mod_fastcgi under Apache | |
75 | -; does not currently support this feature (03/17/2002) | |
76 | -; Set to 1 if running under IIS. Default is zero. | |
77 | -; http://php.net/fastcgi.impersonate | |
78 | -;fastcgi.impersonate = 1; | |
79 | - | |
80 | -; Disable logging through FastCGI connection. PHP's default behavior is to enable | |
81 | -; this feature. | |
82 | -;fastcgi.logging = 0 | |
83 | - | |
84 | -; cgi.rfc2616_headers configuration option tells PHP what type of headers to | |
85 | -; use when sending HTTP response code. If it's set 0 PHP sends Status: header that | |
86 | -; is supported by Apache. When this option is set to 1 PHP will send | |
87 | -; RFC2616 compliant header. | |
88 | -; Default is zero. | |
89 | -; http://php.net/cgi.rfc2616-headers | |
90 | -;cgi.rfc2616_headers = 0 | |
1f5e4073 | 91 | +enable_dl = Off |
a52e6f00 | 92 | |
b45729b9 AM |
93 | ;;;;;;;;;;;;;;;; |
94 | ; File Uploads ; | |
2129049b | 95 | @@ -938,54 +891,6 @@ |
b45729b9 AM |
96 | ; If you only provide the name of the extension, PHP will look for it in its |
97 | ; default extension directory. | |
98 | ; | |
99 | -; Windows Extensions | |
100 | -; Note that ODBC support is built in, so no dll is needed for it. | |
101 | -; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5) | |
102 | -; extension folders as well as the separate PECL DLL download (PHP 5). | |
103 | -; Be sure to appropriately set the extension_dir directive. | |
bc2636bc | 104 | -; |
b45729b9 AM |
105 | -;extension=php_bz2.dll |
106 | -;extension=php_curl.dll | |
107 | -;extension=php_dba.dll | |
108 | -;extension=php_exif.dll | |
109 | -;extension=php_fileinfo.dll | |
110 | -;extension=php_gd2.dll | |
111 | -;extension=php_gettext.dll | |
112 | -;extension=php_gmp.dll | |
113 | -;extension=php_intl.dll | |
114 | -;extension=php_imap.dll | |
115 | -;extension=php_interbase.dll | |
116 | -;extension=php_ldap.dll | |
117 | -;extension=php_mbstring.dll | |
118 | -;extension=php_ming.dll | |
119 | -;extension=php_mssql.dll | |
120 | -;extension=php_mysql.dll | |
121 | -;extension=php_mysqli.dll | |
122 | -;extension=php_oci8.dll ; Use with Oracle 10gR2 Instant Client | |
123 | -;extension=php_oci8_11g.dll ; Use with Oracle 11g Instant Client | |
124 | -;extension=php_openssl.dll | |
125 | -;extension=php_pdo_firebird.dll | |
126 | -;extension=php_pdo_mssql.dll | |
127 | -;extension=php_pdo_mysql.dll | |
128 | -;extension=php_pdo_oci.dll | |
129 | -;extension=php_pdo_odbc.dll | |
130 | -;extension=php_pdo_pgsql.dll | |
131 | -;extension=php_pdo_sqlite.dll | |
132 | -;extension=php_pgsql.dll | |
133 | -;extension=php_phar.dll | |
134 | -;extension=php_pspell.dll | |
135 | -;extension=php_shmop.dll | |
136 | -;extension=php_snmp.dll | |
137 | -;extension=php_soap.dll | |
138 | -;extension=php_sockets.dll | |
139 | -;extension=php_sqlite.dll | |
140 | -;extension=php_sqlite3.dll | |
141 | -;extension=php_sybase_ct.dll | |
142 | -;extension=php_tidy.dll | |
143 | -;extension=php_xmlrpc.dll | |
144 | -;extension=php_xsl.dll | |
145 | -;extension=php_zip.dll | |
bc2636bc | 146 | - |
b45729b9 AM |
147 | ;;;;;;;;;;;;;;;;;;; |
148 | ; Module Settings ; | |
bc2636bc | 149 | ;;;;;;;;;;;;;;;;;;; |
2129049b | 150 | @@ -1235,6 +1140,9 @@ |
b45729b9 AM |
151 | ; http://php.net/mysql.connect-timeout |
152 | mysql.connect_timeout = 60 | |
153 | ||
154 | +; The name of the character set to use as the default character set. | |
155 | +;mysql.connect_charset=utf8 | |
156 | + | |
157 | ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and | |
158 | ; SQL-Errors will be displayed. | |
159 | ; http://php.net/mysql.trace-mode | |
2129049b | 160 | @@ -1274,6 +1182,9 @@ |
b45729b9 AM |
161 | ; http://php.net/mysqli.default-socket |
162 | mysqli.default_socket = | |
163 | ||
164 | +; The name of the character set to use as the default character set. | |
165 | +;mysqli.connect_charset=utf8 | |
166 | + | |
167 | ; Default host for mysql_connect() (doesn't apply in safe mode). | |
168 | ; http://php.net/mysqli.default-host | |
169 | mysqli.default_host = | |
2129049b | 170 | @@ -1440,7 +1351,7 @@ |
b45729b9 AM |
171 | |
172 | [browscap] | |
173 | ; http://php.net/browscap | |
174 | -;browscap = extra/browscap.ini | |
175 | +browscap = /etc/php/browscap.ini | |
176 | ||
177 | [Session] | |
178 | ; Handler used to store/retrieve data. | |
2129049b | 179 | @@ -1863,7 +1774,7 @@ |
b45729b9 AM |
180 | |
181 | ; Sets the directory name where SOAP extension will put cache files. | |
182 | ; http://php.net/soap.wsdl-cache-dir | |
183 | -soap.wsdl_cache_dir="/tmp" | |
184 | +soap.wsdl_cache_dir="/var/run/php" | |
185 | ||
2129049b | 186 | ; (time to live) Sets the number of second while cached file will be used |
b45729b9 | 187 | ; instead of original one. |