forked from mirrors/nixpkgs
* Remove phpIniBuilder (obsolete).
svn path=/nixpkgs/trunk/; revision=20028
This commit is contained in:
parent
d43afaf102
commit
822d59d4f9
|
@ -1,43 +0,0 @@
|
||||||
{runCommand, php, appendLines ? "", prefixPhpRecommended ? true} :
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
|
|
||||||
NixOS: see apache-httpd/default.nix's phpIni option
|
|
||||||
|
|
||||||
to enable Xdebug append these lines:
|
|
||||||
''
|
|
||||||
zend_extension="${pkgs.phpXdebug}/lib/xdebug.so"
|
|
||||||
zend_extension_ts="${pkgs.phpXdebug}/lib/xdebug.so"
|
|
||||||
zend_extension_debug="${pkgs.phpXdebug}/lib/xdebug.so"
|
|
||||||
xdebug.remote_enable=true
|
|
||||||
xdebug.remote_host=127.0.0.1
|
|
||||||
xdebug.remote_port=9000
|
|
||||||
xdebug.remote_handler=dbgp
|
|
||||||
xdebug.profiler_enable=0
|
|
||||||
xdebug.profiler_output_dir="/tmp/xdebug"
|
|
||||||
xdebug.remote_mode=req
|
|
||||||
''
|
|
||||||
|
|
||||||
to make php's mail() function work add
|
|
||||||
''
|
|
||||||
; Needed for PHP's mail() function.
|
|
||||||
sendmail_path = sendmail -t -i
|
|
||||||
''
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
runCommand "php.ini"
|
|
||||||
{
|
|
||||||
inherit php appendLines prefixPhpRecommended;
|
|
||||||
}
|
|
||||||
''
|
|
||||||
[ -z "$prefixPhpRecommended" ] || {
|
|
||||||
{
|
|
||||||
echo "# PHP RECOMMENDED INI START"
|
|
||||||
cat $php/etc/php-recommended.ini
|
|
||||||
echo "# PHP RECOMMENDED INI END"
|
|
||||||
} >> $out
|
|
||||||
}
|
|
||||||
echo "$appendLines" >> $out
|
|
||||||
''
|
|
|
@ -2560,10 +2560,6 @@ let
|
||||||
inherit stdenv fetchurl php autoconf automake;
|
inherit stdenv fetchurl php autoconf automake;
|
||||||
};
|
};
|
||||||
|
|
||||||
phpIniBuilder = makeOverridable (import ../development/interpreters/php/ini-bulider.nix) {
|
|
||||||
inherit php runCommand;
|
|
||||||
};
|
|
||||||
|
|
||||||
pltScheme = builderDefsPackage (import ../development/interpreters/plt-scheme) {
|
pltScheme = builderDefsPackage (import ../development/interpreters/plt-scheme) {
|
||||||
inherit cairo fontconfig freetype libjpeg libpng openssl
|
inherit cairo fontconfig freetype libjpeg libpng openssl
|
||||||
perl mesa zlib which;
|
perl mesa zlib which;
|
||||||
|
|
Loading…
Reference in a new issue