php.extensions.pdo_mysql: Set default socket location

Set the default socket location to match the one used by the MySQL
module, so PHP programs using pdo_mysql don't have to specify this
themselves.
This commit is contained in:
talyz 2020-04-11 14:27:06 +02:00
parent 43020a8692
commit d85bf2f5b7
No known key found for this signature in database
GPG Key ID: 2DED2151F4671A2B

View File

@ -939,7 +939,7 @@ in
# pdo_firebird (7.4, 7.3, 7.2)
{ name = "pdo_mysql";
internalDeps = with php.extensions; [ pdo mysqlnd ];
configureFlags = [ "--with-pdo-mysql=mysqlnd" ];
configureFlags = [ "--with-pdo-mysql=mysqlnd" "PHP_MYSQL_SOCK=/run/mysqld/mysqld.sock" ];
doCheck = false; }
# pdo_oci (7.4, 7.3, 7.2)
{ name = "pdo_odbc";