Being massively pedantic for a moment; he didn't set the memory limit to 1GB but instead to 0.9765625GB:
<?php
ini_set('memory_limit', '1000M'); // or you could use 1G
?>
Joking aside, do most people these days just use MB (1000^n) instead of MiB (1024^n) when working with RAM? Is this now the standard way to calculating memory?