var_dump(realpath_cache_size(),realpath_cache_get());
int (0); array (0) {}
unzip realpath_turbo_1.2.zip cd realpath_turbo phpize ./configure make make install
extension=turbo_realpath.so
# clear all open_basedir restrictions open_basedir="" # replace it with realpath_cache_basedir = /var/www/html/drupal
; set this to 1 in order to disable dangerous PHP functions (link,symlink), or set to 0 in order to ignore potential security issues <video></video>; 1 PHP (link,symlink), 0 realpath_cache_security = 1 ; if you want, you can enable safe_mode, in order to do so, you have to switch off ; standard open_basedir setting... ; , safe_mode, , open_basedir open_basedir = off ; and then switch on custom realpath_cache_open_basedir setting, ; (remember, safe mode is not required by realpath_turbo extension, ; you can safely ignore these settings if you want) ; realpath_cache_open_basedir ; (, safe mode realpath_turbo, , ) real_path_cache_safe_mode = on
Source: https://habr.com/ru/post/270435/
All Articles