summaryrefslogtreecommitdiffstats
path: root/php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-01-17 11:59:51 +0100
committerFlorian Pritz <bluewind@xssn.at>2010-01-17 11:59:54 +0100
commitcae7b71196612d90c08c39ba2bdc8d0d974aa412 (patch)
tree8a293f8e7396a57bdddd40599d2caaa44ea935d8 /php
parente318f0b35c97d42347d4784cb5706e0f69d06532 (diff)
downloadaur-packages-cae7b71196612d90c08c39ba2bdc8d0d974aa412.tar.gz
aur-packages-cae7b71196612d90c08c39ba2bdc8d0d974aa412.tar.xz
mass updates/adds
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'php')
-rw-r--r--php/mysqlnd-socket.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/php/mysqlnd-socket.patch b/php/mysqlnd-socket.patch
new file mode 100644
index 0000000..7573ca1
--- /dev/null
+++ b/php/mysqlnd-socket.patch
@@ -0,0 +1,11 @@
+--- ext/mysqlnd/mysqlnd.c 2009-11-19 14:02:01.934775092 +0100
++++ ext/mysqlnd/mysqlnd.c 2009-11-19 14:08:04.598072581 +0100
+@@ -547,7 +547,7 @@
+ #ifndef PHP_WIN32
+ if (host_len == sizeof("localhost") - 1 && !strncasecmp(host, "localhost", host_len)) {
+ if (!socket) {
+- socket = "/tmp/mysql.sock";
++ socket = "/var/run/mysqld/mysqld.sock";
+ }
+ transport_len = spprintf(&transport, 0, "unix://%s", socket);
+ unix_socket = TRUE;