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