(Update)
Problem was due to my php version not being the minimum version specified in the docs.
The situation:
Getting a fatal error on a native php function. (Using php version 5.2.17) Any obvious reasons why?
Error Output:
PHP Fatal error: Call to undefined function gc_collect_cycles() in /home/oursite/public_html/pdfgenerator/memory.php on line 4
Script Contents:
// memory.php
<?php
gc_collect_cycles();
?>
gc_collect_cycles()is in PHP starting with version 5.3.0, so at 5.2.17 you won’t be able to use it.