Import initial template.
Add apparmor.profile ini entry.
Call ZEND_INIT_MODULE_GLOBALS() in PHP_MINIT_FUNCTION().
Change AppArmor profile when the ini option is set.
Drop unused PHP_RINIT and PHP_RSHUTDOWN functions.