@@ -320,6 +320,7 @@ ZEND_INI_BEGIN()
320320#endif
321321
322322 STD_PHP_INI_ENTRY ("opcache.file_cache" , NULL , PHP_INI_SYSTEM , OnUpdateFileCache , accel_directives .file_cache , zend_accel_globals , accel_globals )
323+ STD_PHP_INI_ENTRY ("opcache.file_cache_permissions" , "0600" , PHP_INI_SYSTEM , OnUpdateLong , accel_directives .file_cache_permissions , zend_accel_globals , accel_globals )
323324 STD_PHP_INI_BOOLEAN ("opcache.file_cache_read_only" , "0" , PHP_INI_SYSTEM , OnUpdateBool , accel_directives .file_cache_read_only , zend_accel_globals , accel_globals )
324325 STD_PHP_INI_BOOLEAN ("opcache.file_cache_only" , "0" , PHP_INI_SYSTEM , OnUpdateBool , accel_directives .file_cache_only , zend_accel_globals , accel_globals )
325326 STD_PHP_INI_BOOLEAN ("opcache.file_cache_consistency_checks" , "1" , PHP_INI_SYSTEM , OnUpdateBool , accel_directives .file_cache_consistency_checks , zend_accel_globals , accel_globals )
@@ -845,6 +846,7 @@ ZEND_FUNCTION(opcache_get_configuration)
845846#endif
846847
847848 add_assoc_string (& directives , "opcache.file_cache" , ZCG (accel_directives ).file_cache ? ZCG (accel_directives ).file_cache : "" );
849+ add_assoc_long (& directives , "opcache.file_cache_permissions" , ZCG (accel_directives ).file_cache_permissions );
848850 add_assoc_bool (& directives , "opcache.file_cache_read_only" , ZCG (accel_directives ).file_cache_read_only );
849851 add_assoc_bool (& directives , "opcache.file_cache_only" , ZCG (accel_directives ).file_cache_only );
850852 add_assoc_bool (& directives , "opcache.file_cache_consistency_checks" , ZCG (accel_directives ).file_cache_consistency_checks );
0 commit comments