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 reewide: Purge all uses stdenv.system and top-level system 2018-08-30 17:20:32 -04:00
beam-modules
bower-modules/generic
compilers kotlin: 1.2.61 -> 1.2.70 2018-09-21 08:05:29 -04:00
coq-modules treewide: Use http/https for homepages 2018-09-08 18:30:00 +02:00
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 lispPackages.quicklisp: 2018-04-30 -> 2018-08-31 ; regenerate packages 2018-09-12 11:52:43 +03:00
lua-modules
misc reewide: Purge all uses stdenv.system and top-level system 2018-08-30 17:20:32 -04:00
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 git2r: add SSH support 2018-09-11 16:39:20 -04:00
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