PHP

Upgrade to php 5.5 creates error

if you don’t specify the socket path, php 5.5 will use /tmp/mysql.sock.

Update my.cnf to:

pdo_mysql.default_socket => /var/lib/mysql/mysql.sock => /var/lib/mysql/mysql.sock