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