vanillaforums/Garden — Issue #1200: Vanilla fails to install on PHP5.2.17, Windows7, Apache2.2
Author: lincolnwebs
Created: 2011-11-05 01:27:20+00:00
State: open
Labels: Bug

schket reports:

seems to me that Vanilla setup fails to save configuration to config.php at class.configuration.php, line 536:

chmod($TmpFile, 0775);
$Result = rename($TmpFile, $File); // Returns false.

After I modified code as follows, setup completed successfully:
chmod($TmpFile, 0775);
if(is_file($File)) {
unlink($File);
}
$Result = rename($TmpFile, $File);

http://vanillaforums.org/discussion/17650