PHP Fatal error: Interface 'SessionHandlerInterface' not found in

From: Date: Tue, 02 Oct 2018 20:58:47 +0000
Subject: PHP Fatal error: Interface 'SessionHandlerInterface' not found in
Groups: php.install 
Request: Send a blank email to php-install+get-20499@lists.php.net to get a copy of this message
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 (#20499) next »