PhpRedisadmin - Failed opening required /usr/share/phpRedisAdmin/includes/vendor/autoload.php
Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Ошибка для морды redis:
PHP Fatal error: require(): Failed opening required '/usr/share/phpRedisAdmin/includes/../vendor/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/share/phpRedisAdmin/includes/common.inc.php on line 2
Устанавливаем зависимости PHP из файла composer.lock:
# cd /usr/share/phpRedisAdmin # composer install Loading composer repositories with package information Installing dependencies (including require-dev) from lock file - Installing predis/predis (v1.0.3) Downloading: 100% predis/predis suggests installing ext-phpiredis (Allows faster serialization and deserialization of the Redis protocol) Generating autoload files
теперь файлы появились и админка заработала:
# ls -ld vendor/autoload.php -rw-r--r-- 1 root root 183 Jul 26 18:18 vendor/autoload.php