Hello,
I have been running a few DokuWiki sites with PHP 8.0 with no issues. Now PHP 8.0 is deprecated (as of December 2023), so I am trying to install a test site with PHP 8.3.
When I try to access http://www.site.tld/install.php I get a blank page.
Logs show Apache throw Error 500 with this line:
[Sat Jan 06 10:02:09.657387 2024] [php:error] [pid 48198] [client x.x.x.x:53080] PHP Fatal error: Uncaught Error: Call to undefined function session_name() in /usr/local/www/apache24/data/public_html/inc/init.php:251\nStack trace:\n#0 /usr/local/www/apache24/data/public_html/inc/init.php(172): init_session()\n#1 /usr/local/www/apache24/data/public_html/install.php(23): require_once('...')\n#2 {main}\n thrown in /usr/local/www/apache24/data/public_html/inc/init.php on line 251
It seems the PHP module session
is not installed? But I verified, and it is there:
# pkg install php83-session
The most recent versions of packages are already installed
How can I debug this issue? I searched on this forum and elsewhere, with no success.