]>
Commit | Line | Data |
---|---|---|
4e8b2de4 ER |
1 | --- php-5.3.4/php.ini~ 2010-12-12 23:03:42.000000000 +0200 |
2 | +++ php-5.3.4/php.ini 2010-12-12 23:05:56.583592856 +0200 | |
a52e6f00 ER |
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 ; | |
4e8b2de4 ER |
95 | @@ -876,11 +876,7 @@ |
96 | ; | |
97 | ; extension=modulename.extension | |
98 | ; | |
99 | -; For example, on Windows: | |
100 | -; | |
101 | -; extension=msql.dll | |
102 | -; | |
103 | -; ... or under UNIX: | |
104 | +; For example under UNIX: | |
105 | ; | |
106 | ; extension=msql.so | |
107 | ; | |
108 | @@ -891,49 +887,8 @@ | |
b45729b9 AM |
109 | ; If you only provide the name of the extension, PHP will look for it in its |
110 | ; default extension directory. | |
111 | ; | |
112 | -; Windows Extensions | |
113 | -; Note that ODBC support is built in, so no dll is needed for it. | |
114 | -; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5) | |
115 | -; extension folders as well as the separate PECL DLL download (PHP 5). | |
116 | -; Be sure to appropriately set the extension_dir directive. | |
bc2636bc | 117 | -; |
b45729b9 AM |
118 | -;extension=php_bz2.dll |
119 | -;extension=php_curl.dll | |
b45729b9 AM |
120 | -;extension=php_fileinfo.dll |
121 | -;extension=php_gd2.dll | |
122 | -;extension=php_gettext.dll | |
123 | -;extension=php_gmp.dll | |
124 | -;extension=php_intl.dll | |
125 | -;extension=php_imap.dll | |
126 | -;extension=php_interbase.dll | |
127 | -;extension=php_ldap.dll | |
128 | -;extension=php_mbstring.dll | |
4e8b2de4 | 129 | -;extension=php_exif.dll ; Must be after mbstring as it depends on it |
b45729b9 AM |
130 | -;extension=php_mysql.dll |
131 | -;extension=php_mysqli.dll | |
132 | -;extension=php_oci8.dll ; Use with Oracle 10gR2 Instant Client | |
133 | -;extension=php_oci8_11g.dll ; Use with Oracle 11g Instant Client | |
134 | -;extension=php_openssl.dll | |
135 | -;extension=php_pdo_firebird.dll | |
136 | -;extension=php_pdo_mssql.dll | |
137 | -;extension=php_pdo_mysql.dll | |
138 | -;extension=php_pdo_oci.dll | |
139 | -;extension=php_pdo_odbc.dll | |
140 | -;extension=php_pdo_pgsql.dll | |
141 | -;extension=php_pdo_sqlite.dll | |
142 | -;extension=php_pgsql.dll | |
b45729b9 AM |
143 | -;extension=php_pspell.dll |
144 | -;extension=php_shmop.dll | |
145 | -;extension=php_snmp.dll | |
146 | -;extension=php_soap.dll | |
147 | -;extension=php_sockets.dll | |
148 | -;extension=php_sqlite.dll | |
149 | -;extension=php_sqlite3.dll | |
150 | -;extension=php_sybase_ct.dll | |
151 | -;extension=php_tidy.dll | |
152 | -;extension=php_xmlrpc.dll | |
153 | -;extension=php_xsl.dll | |
154 | -;extension=php_zip.dll | |
4e8b2de4 ER |
155 | +; Ideally in PLD Linux you should install appropriate php-<extension> or |
156 | +; php-pecl-<extension> package. | |
157 | ||
b45729b9 AM |
158 | ;;;;;;;;;;;;;;;;;;; |
159 | ; Module Settings ; | |
2129049b | 160 | @@ -1235,6 +1140,9 @@ |
b45729b9 AM |
161 | ; http://php.net/mysql.connect-timeout |
162 | mysql.connect_timeout = 60 | |
163 | ||
164 | +; The name of the character set to use as the default character set. | |
165 | +;mysql.connect_charset=utf8 | |
166 | + | |
167 | ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and | |
168 | ; SQL-Errors will be displayed. | |
169 | ; http://php.net/mysql.trace-mode | |
2129049b | 170 | @@ -1274,6 +1182,9 @@ |
b45729b9 AM |
171 | ; http://php.net/mysqli.default-socket |
172 | mysqli.default_socket = | |
173 | ||
174 | +; The name of the character set to use as the default character set. | |
175 | +;mysqli.connect_charset=utf8 | |
176 | + | |
177 | ; Default host for mysql_connect() (doesn't apply in safe mode). | |
178 | ; http://php.net/mysqli.default-host | |
179 | mysqli.default_host = | |
2129049b | 180 | @@ -1440,7 +1351,7 @@ |
b45729b9 AM |
181 | |
182 | [browscap] | |
183 | ; http://php.net/browscap | |
184 | -;browscap = extra/browscap.ini | |
185 | +browscap = /etc/php/browscap.ini | |
186 | ||
187 | [Session] | |
188 | ; Handler used to store/retrieve data. | |
2129049b | 189 | @@ -1863,7 +1774,7 @@ |
b45729b9 AM |
190 | |
191 | ; Sets the directory name where SOAP extension will put cache files. | |
192 | ; http://php.net/soap.wsdl-cache-dir | |
193 | -soap.wsdl_cache_dir="/tmp" | |
194 | +soap.wsdl_cache_dir="/var/run/php" | |
195 | ||
2129049b | 196 | ; (time to live) Sets the number of second while cached file will be used |
b45729b9 | 197 | ; instead of original one. |