Topic: Latest PHP 3.5.10 break mysql local socket
Hi,
1st of all many thanks for your job maintaining the repo.
Yesterday I upgrade php, from 3.5.9 (was installed the remi release also) trough Yum, the upgrade works well, no problems at all.
The problem is now I cant connect to mysql trought local socket. If I connect trough 127.0.0.1 (TCP) all is ok. If I connect trough ssh on local socket all is ok as well. The problem is on php and mysql socket.
My mysql socket is on: /var/lib/mysql/mysql.sock and with this permissions: "srwxrwxrwx 1 mysql mysql 0 Feb 4 02:37 /var/lib/mysql/mysql.sock"
I try also to include
pdo_mysql.default_socket = /var/lib/mysql/mysql.sock
mysql.default_socket = /var/lib/mysql/mysql.sock
mysqli.default_socket = /var/lib/mysql/mysql.sock
on php.ini
One error example is when I use drupal:
Warning: PDO::__construct(): [2002] No such file or directory (trying to connect via unix://%{mysql_sock}) in DatabaseConnection->__construct() (line 304 of /home/xxxxxxxxxxxxxx/public_html/includes/database/database.inc).
This is not only with drupal, is with every php script (phpmyadmin included).
Any clue how to solve this?
Thanks and regards,
Pedro