Files
nixpkgs/pkgs/development/interpreters
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-23 21:14:59 +02:00
2018-07-18 15:56:04 -07:00
2018-08-03 17:06:03 -04:00
2018-08-06 13:15:50 +02:00
2018-04-23 08:16:03 +01:00
2018-08-27 15:16:45 +02:00
2018-07-04 00:28:50 +09:00
2018-03-18 18:02:29 +01:00
2018-08-17 02:27:07 -07:00
2018-04-20 04:42:42 -07:00
2018-08-13 14:24:25 +02:00
2018-09-15 02:05:52 +02:00
2018-05-28 21:04:12 +02:00
2018-05-07 23:58:24 +02:00
2018-09-21 15:56:41 +02:00
2018-04-20 17:57:33 -05:00
2018-08-06 13:28:07 +02:00
2018-09-02 01:46:28 +02:00
2018-06-27 22:12:57 +02:00
2018-06-27 22:12:57 +02:00
2018-06-27 22:12:57 +02:00
2018-08-28 14:38:48 +02:00
2018-08-04 18:53:53 +02:00