Added phar.readonly=0 to the shebang line on main.php.