php: add optional ZTS support and new PECL module pthreads
This commit is contained in:
@@ -185,6 +185,10 @@ composableDerivation.composableDerivation {} ( fixed : let inherit (fixed.fixed)
|
||||
buildInputs = [freetds];
|
||||
};
|
||||
|
||||
zts = {
|
||||
configureFlags = ["--enable-maintainer-zts"];
|
||||
};
|
||||
|
||||
/*
|
||||
php is build within this derivation in order to add the xdebug lines to the php.ini.
|
||||
So both Apache and command line php both use xdebug without having to configure anything.
|
||||
@@ -224,6 +228,7 @@ composableDerivation.composableDerivation {} ( fixed : let inherit (fixed.fixed)
|
||||
ftpSupport = config.php.ftp or true;
|
||||
fpmSupport = config.php.fpm or true;
|
||||
mssqlSupport = config.php.mssql or (!stdenv.isDarwin);
|
||||
ztsSupport = config.php.zts or false;
|
||||
};
|
||||
|
||||
configurePhase = ''
|
||||
|
||||
Reference in New Issue
Block a user