Author: glen Date: Tue Oct 7 22:45:57 2008 GMT Module: SOURCES Tag: HEAD ---- Log message: - sample default charset mysql options to ini file
---- Files affected: SOURCES: php-ini-charsetphpini.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SOURCES/php-ini-charsetphpini.patch diff -u /dev/null SOURCES/php-ini-charsetphpini.patch:1.1 --- /dev/null Wed Oct 8 00:45:57 2008 +++ SOURCES/php-ini-charsetphpini.patch Wed Oct 8 00:45:51 2008 @@ -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 ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
