@@ -256,7 +256,9 @@ ZEND_INI_BEGIN()
256
256
STD_PHP_INI_BOOLEAN ("opcache.use_cwd" , "1" , PHP_INI_SYSTEM , OnUpdateBool , accel_directives .use_cwd , zend_accel_globals , accel_globals )
257
257
STD_PHP_INI_BOOLEAN ("opcache.validate_timestamps" , "1" , PHP_INI_ALL , OnUpdateBool , accel_directives .validate_timestamps , zend_accel_globals , accel_globals )
258
258
STD_PHP_INI_BOOLEAN ("opcache.validate_permission" , "0" , PHP_INI_SYSTEM , OnUpdateBool , accel_directives .validate_permission , zend_accel_globals , accel_globals )
259
+ #ifndef ZEND_WIN32
259
260
STD_PHP_INI_BOOLEAN ("opcache.validate_root" , "0" , PHP_INI_SYSTEM , OnUpdateBool , accel_directives .validate_root , zend_accel_globals , accel_globals )
261
+ #endif
260
262
STD_PHP_INI_BOOLEAN ("opcache.inherited_hack" , "1" , PHP_INI_SYSTEM , OnUpdateBool , accel_directives .inherited_hack , zend_accel_globals , accel_globals )
261
263
STD_PHP_INI_BOOLEAN ("opcache.dups_fix" , "0" , PHP_INI_ALL , OnUpdateBool , accel_directives .ignore_dups , zend_accel_globals , accel_globals )
262
264
STD_PHP_INI_BOOLEAN ("opcache.revalidate_path" , "0" , PHP_INI_ALL , OnUpdateBool , accel_directives .revalidate_path , zend_accel_globals , accel_globals )
@@ -666,7 +668,9 @@ static ZEND_FUNCTION(opcache_get_configuration)
666
668
add_assoc_bool (directives , "opcache.use_cwd" , ZCG (accel_directives ).use_cwd );
667
669
add_assoc_bool (directives , "opcache.validate_timestamps" , ZCG (accel_directives ).validate_timestamps );
668
670
add_assoc_bool (directives , "opcache.validate_permission" , ZCG (accel_directives ).validate_permission );
671
+ #ifndef ZEND_WIN32
669
672
add_assoc_bool (directives , "opcache.validate_root" , ZCG (accel_directives ).validate_root );
673
+ #endif
670
674
add_assoc_bool (directives , "opcache.inherited_hack" , ZCG (accel_directives ).inherited_hack );
671
675
add_assoc_bool (directives , "opcache.dups_fix" , ZCG (accel_directives ).ignore_dups );
672
676
add_assoc_bool (directives , "opcache.revalidate_path" , ZCG (accel_directives ).revalidate_path );
0 commit comments