Hey all,
Has anyone run into this error on boot?
Flarum encountered a boot error (ReflectionException)
Class SessionHandlerInterface does not exist
thrown in /var/www/community.jaredwolff.com/vendor/illuminate/container/Container.php on line 838
I'm running the latest 7.4 on FreeBSD whereas the php backend is situated in a jail. Caddy is situated in a separate
php --version
PHP 7.4.11 (cli) (built: Oct 10 2020 01:15:59) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
Here's what the Caddy 2.2 Config looks like:
community.jaredwolff.com {
log
root * /var/www/community.jaredwolff.com/public/
file_server
try_files {path} {path}/ /index.php
php_fastcgi 10.10.2.31:9000 {
root /var/www/community.jaredwolff.com/public/
}
header /assets {
+Cache-Control "public, must-revalidate, proxy-revalidate"
+Cache-Control "max-age=25000"
Pragma "public"
}
encode gzip
}
(I've mounted the source directory so they're shared)
As far as I can tell I have all the deps installed.
bash-5.0.18_3 GNU Project's Bourne Again SHell
boost-libs-1.72.0_2 Free portable C++ libraries (without Boost.Python)
ca_root_nss-3.57 Root certificate bundle from the Mozilla Project
curl-7.72.0 Command line tool and library for transferring data with URLs
expat-2.2.8 XML 1.0 parser written in C
fontconfig-2.13.92_2,1 XML-based font configuration API for X Windows
freetype2-2.10.2_1 Free and portable TrueType font rendering engine
galera26-26.4.5 Synchronous multi-master replication engine
gettext-runtime-0.21 GNU gettext runtime libraries and programs
giflib-5.2.1 Tools and library routines for working with GIF images
icu-67.1,1 International Components for Unicode (from IBM)
indexinfo-0.3.1 Utility to regenerate the GNU info page index
jbigkit-2.1_1 Lossless compression for bi-level images such as scanned pages, faxes
jpeg-turbo-2.0.5 SIMD-accelerated JPEG codec which replaces libjpeg
libargon2-20190702 Memory hard password hashing program and library
libedit-3.1.20191231,1 Command line editor library
libgd-2.3.0,1 Graphics library for fast creation of images
libiconv-1.16 Character set conversion library
liblz4-1.9.2_1,1 LZ4 compression library, lossless and very fast
libnghttp2-1.41.0 HTTP/2.0 C Library
libxml2-2.9.10_1 XML parser library for GNOME
libzip-1.5.2 C library for reading, creating, and modifying ZIP archives
mariadb105-client-10.5.5 Multithreaded SQL database (client)
mariadb105-server-10.5.5 Multithreaded SQL database (server)
oniguruma-6.9.5.r1_1 Regular expressions library compatible with POSIX/GNU/Perl
pcre2-10.35 Perl Compatible Regular Expressions library, version 2
php74-7.4.11 PHP Scripting Language
php74-composer-1.10.10 Dependency Manager for PHP
php74-ctype-7.4.11 The ctype shared extension for php
php74-curl-7.4.11 The curl shared extension for php
php74-dom-7.4.11 The dom shared extension for php
php74-fileinfo-7.4.11 The fileinfo shared extension for php
php74-filter-7.4.11 The filter shared extension for php
php74-gd-7.4.11 The gd shared extension for php
php74-intl-7.4.11 The intl shared extension for php
php74-json-7.4.11 The json shared extension for php
php74-mbstring-7.4.11 The mbstring shared extension for php
php74-openssl-7.4.11 The openssl shared extension for php
php74-pdo-7.4.11 The pdo shared extension for php
php74-pdo_mysql-7.4.11 The pdo_mysql shared extension for php
php74-phar-7.4.11 The phar shared extension for php
php74-tokenizer-7.4.11 The tokenizer shared extension for php
php74-zip-7.4.11 The zip shared extension for php
pkg-1.15.10 Package manager
png-1.6.37 Library for manipulating PNG images
readline-8.0.4 Library for editing command lines as they are typed
rsync-3.2.3 Network file distribution/synchronization utility
tiff-4.1.0 Tools and library routines for working with TIFF images
unixODBC-2.3.7 ODBC library suite for Unix
webp-1.1.0 Google WebP image format conversion tool
xxhash-0.8.0 Extremely fast non-cryptographic hash algorithm
zstd-1.4.5_1 Fast real-time compression algorithm
My gut feeling it's either some type of permissions issue or config issue with php-fpm. Any hints or suggestions would be greatly appreciated. 🙂