--- php-5.3.8-orig/sapi/cgi/cgi_main.c 2011-11-09 14:51:07.988054992 -0500 +++ php-5.3.8/sapi/cgi/cgi_main.c 2011-11-09 14:53:27.804393949 -0500 @@ -782,6 +782,7 @@ /* Activate ini entries with values from the user config hash */ php_ini_activate_config(entry->user_config, PHP_INI_PERDIR, PHP_INI_STAGE_HTACCESS TSRMLS_CC); + php_ini_register_extensions(TSRMLS_CC); } /* }}} */