Feature/php memory limit

Adds php_memory_limit configuration setting.