1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
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
..
arduino
beam-modules
bower-modules/generic
compilers kotlin: 1.2.61 -> 1.2.70 2018-09-21 08:05:29 -04:00
coq-modules
dotnet-modules/patches
em-modules/generic
go-modules
guile-modules
haskell-modules haskellPackages.mandrill: fix build for ghc843 2018-09-21 19:08:25 +02:00
idris-modules
interpreters php: set mysql socket path if mysql[i] or pdo_mysql support is enabled 2018-09-23 15:08:39 +02:00
java-modules
libraries Merge pull request #47143 from obsidiansystems/windows-libusb 2018-09-21 14:28:29 -04:00
lisp-modules
lua-modules
misc
mobile Merge remote-tracking branch 'upstream/master' into darwin-android-ndk-for-master 2018-09-17 22:48:25 -04:00
node-packages Merge pull request #46712 from obsidiansystems/ios-depoy 2018-09-15 14:56:32 -04:00
ocaml-modules ocamlPackages.cohttp: 1.0.2 -> 1.1.1 2018-09-19 16:50:21 +00:00
perl-modules
pharo
pure-modules
python-modules pythonPackages.dependency-injector: 3.13.1 -> 3.13.2 (#47139) 2018-09-21 20:08:02 +02:00
r-modules
ruby-modules solargraph: 0.25.1 -> 0.27.1 2018-09-16 04:56:35 -04:00
tools pyre: 0.0.11 -> 0.0.14 2018-09-21 14:37:39 +02:00
web postman: 6.2.5 -> 6.3.0 (#46771) 2018-09-17 11:45:27 +02:00