Blog » Website Transferred to Kiwihosting.net.nz's HELM (Windows) Servers

Website Transferred to Kiwihosting.net.nz's HELM (Windows) Servers

Previously, this website was hosted one of Kiwihosting.net.nz's Unix (HSphere) servers. They now have newer, faster Windows servers that are Helm based. Not only are they faster, they currently also offer twice the bandwidth and disk space of the older hosting plans on their HSphere servers. They also offered six months free hosting to those who volunteered to move their websites to the new hosts without assistance. After some minor issues with this website over the weekend, I decided to move to the new hosts. To make things easy, Kiwihosting's staff had already created installation instructions for Silverstripe on the new servers.

The move proved to be fairly painless, even though it took a while to transfer the files and database across. Their instructions worked well, except that the administration pages of this website required a bit more memory than the 32 MiB that Silverstripe demands. This was easy to fix, the main entry script (sapphire/main.php) checks the PHP memory limit and increases it to 32 MiB in the following lines:

// Check we have at least 32M
if($memory < (32 * 1024 * 1024)) {
    // Increase memory limit
    ini_set('memory_limit', '32M');
}

Changing this to the following increases the memory limit to 64 MiB:

// Check we have at least 64M
if($memory < (64 * 1024 * 1024)) {
    // Increase memory limit
    ini_set('memory_limit', '64M');
}

Apart from this one change, everything else was as per Kiwihosting's own installation instructions.



Blog » Website Transferred to Kiwihosting.net.nz's HELM (Windows) Servers

Post your comment

Comments

No one has commented on this page yet.

RSS feed for comments on this page | RSS feed for all comments


Blog » Website Transferred to Kiwihosting.net.nz's HELM (Windows) Servers