MySQL socket and PHP (and other languages)

view full story

http://unix.stackexchange.com – Background info I'm currently running CentOS (or Red Hat?). uname -a gives (I edited out my domain name) Linux XXXXXXXXX.com 2.6.32-71.29.1.el6.x86_64 #1 SMP Mon Jun 27 19:49:27 BST 2011 x86_64 x86_64 x86_64 GNU/Linux cat /etc/issue gives CentOS release 6.2 (Final) Kernel \r on an \m and `cat /proc/version' gives Linux version 2.6.32-71.29.1.el6.x86_64 ([email protected]) (gcc version 4.4.4 20100726 (Red Hat 4.4.4-13) (GCC) ) #1 SMP Mon Jun 27 19:49:27 BST 2011 php --version gives PHP 5.3.3 (cli) (built: Jan 11 2012 19:53:01) Copyright (c) 1997-2010 The PHP Group (HowTos)