Files
nixpkgs/pkgs/development
Florian Klink baa04e4204 php: set mysql socket path if mysql[i] or pdo_mysql support is enabled
PHP tries to discover the mysql default socket path during configure
phase by probing the file system:
cf3b852109/ext/mysqli/config.m4 (L4)

This obviously fails to discover /run/mysqld/mysqld.sock, which is being
used (hardcoded) across all MySQL flavours.

This leads to PHP having no mysql socket path set for the mysql[i]
extensions, and `/tmp/mysql.sock` set for pdo_mysql,
meaning one currently has to manually configure and set it in php.ini.

Luckily, PHP supports setting that path via
`--with-mysql-sock=/run/mysqld/mysqld.sock` during configure phase,
so let's do this as soon as one of the three modules is enabled.
2018-09-23 15:08:39 +02:00
..
2018-08-27 21:38:28 +02:00
2018-09-21 08:05:29 -04:00
2018-09-11 16:39:20 -04:00
2018-09-16 04:56:35 -04:00
2018-09-21 14:37:39 +02:00
2018-09-17 11:45:27 +02:00