Re: PHP Fatal error: Interface 'SessionHandlerInterface' not found in

From: Date: Wed, 03 Oct 2018 04:25:24 +0000
Subject: Re: PHP Fatal error: Interface 'SessionHandlerInterface' not found in
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-20500@lists.php.net to get a copy of this message
Hi, I think you need to install this package https://pkgs.alpinelinux.org/package/edge/community/x86/php7-session On Tue, Oct 2, 2018 at 10:58 PM <c.monty@web.de> wrote: > Hi, > I want to install an app (Bookstack: > https://github.com/BookStackApp/BookStack) that reports an > error in step > "php artisan migrate". > > The error message is: > PHP Fatal error: Interface 'SessionHandlerInterface' not found in > /var/www/bookstack/vendor/laravel/framework/src/Illuminate/Session/FileSessionHandler.php > on line 10 > > [Symfony\Component\Debug\Exception\FatalErrorException] > Interface 'SessionHandlerInterface' not found > > The relevant coding in this php-file is: > <?php > namespace Illuminate\Session; > use SessionHandlerInterface; > use Illuminate\Support\Carbon; > use Symfony\Component\Finder\Finder; > use Illuminate\Filesystem\Filesystem; > class FileSessionHandler implements SessionHandlerInterface > { > /** > * The filesystem instance. > * > * @var \Illuminate\Filesystem\Filesystem > */ > protected $files; > > This issue only occurs on Alpine Linux 3.8 with php 7.2.10: > ct113-devwiki:/var/www/bookstack# php -v > PHP 7.2.10 (cli) (built: Oct 1 2018 20:12:12) ( NTS ) > Copyright (c) 1997-2018 The PHP Group > Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies > with Zend OPcache v7.2.10, Copyright (c) 1999-2018, by Zend > Technologies > > I assume some module or directive is missing. > > Can you please advice how to trouble shoot this issue? > > THX >

« previous php.install (#20500) next »