]> git.pld-linux.org Git - packages/php.git/commitdiff
- sample default charset mysql options to ini file
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 7 Oct 2008 22:45:51 +0000 (22:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-ini-charsetphpini.patch -> 1.1

php-ini-charsetphpini.patch [new file with mode: 0644]

diff --git a/php-ini-charsetphpini.patch b/php-ini-charsetphpini.patch
new file mode 100644 (file)
index 0000000..77536fc
--- /dev/null
@@ -0,0 +1,33 @@
+--- php-5.2.4/php.ini~ 2008-09-23 14:06:04.000000000 +0300
++++ php-5.2.4/php.ini  2008-10-08 01:34:12.575347747 +0300
+@@ -749,6 +749,9 @@
+ ; Maximum time (in seconds) for connect timeout. -1 means no limit
+ mysql.connect_timeout = 60
++; The name of the character set to use as the default character set.
++;mysql.connect_charset=utf8
++
+ ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
+ ; SQL-Errors will be displayed.
+ mysql.trace_mode = Off
+@@ -768,6 +771,9 @@
+ ; MySQL defaults.
+ mysqli.default_socket =
++; The name of the character set to use as the default character set.
++;mysqli.connect_charset=utf8
++
+ ; Default host for mysql_connect() (doesn't apply in safe mode).
+ mysqli.default_host =
+@@ -784,6 +790,10 @@
+ ; Allow or prevent reconnect
+ mysqli.reconnect = Off
++[pdo_mysql]
++; The name of the character set to use as the default character set.
++;pdo_mysql.connect_charset=utf8
++
+ [mSQL]
+ ; Allow or prevent persistent links.
+ msql.allow_persistent = On
This page took 0.717267 seconds and 4 git commands to generate.