[Nix-dev] NixOS wiki

Eelco Dolstra eelco.dolstra at logicblox.com
Fri May 17 15:29:09 CEST 2013


Hi,

On 13/04/13 00:54, Eelco Dolstra wrote:

>>> Yes, thanks, it seems very much better now. I tried to add to the
>>> page and the letters show OK. Only the "Cz" from the beginning of
>>> the line got erased, I don't know why.
>>
>> The diff shows the 'z'.
>> https://nixos.org/w/index.php?title=Test&action=historysubmit&diff=4343&oldid=4342
>>
>> Something looks rotten still.
> 
> Apparently our PHP is somehow broken on 32-bit Linux.  Running MediaWiki on
> 64-bit works fine...

Switching nixos.org from 32-bit to 64-bit didn't change anything [1].  However,
I finally did find the cause: the Zabbix installation on the same machine set
the PHP configuration option "mbstring.func_overload" to 2, causing the
semantics of string functions to change globally, i.e. for Mediawiki as well.
Such a wonderful language...

Anyway, it should be fixed now.

[1] Fortunately this experiment didn't take long.  I just changed the
nixpkgs.system option in configuration.nix from "i686-linux" to "x86_64-linux"
and ran "nixos-rebuild boot".  Admittedly that only worked because distributed
builds are enabled on that machine :-)

-- 
Eelco Dolstra | LogicBlox, Inc. | http://nixos.org/~eelco/


More information about the nix-dev mailing list