Hi All - feeling a bit dense, but have hit an issue installing the latest dokuwiki to a new server.
It's time I refresh the server environment on my production webservers, where I'm still using PHP 7.4.29 - need to move on, I think.
So, I've decided to use this opportunity to rebuild my hosted servers from scratch using the latest dokuwiki-stable, version 2022-07-31a. I'm testing this on FreeBSD 13.1 (ARM platform thanks to VMware on an Apple Silicon Macbook Air). Also, using Apache 2.4.54 and PHP 8.1.9. For testing, I have placed the Doku drectory within the webroot.
When trying to kick off the installer at https://my.test.server/doku/install.php, I get a blank page.
The webserver error log has this:
[php:error] [pid 5830] [client 172.16.131.1:62737] PHP Fatal error: Uncaught Error:
Call to undefined function session_name() in /usr/local/www/apache24/data/doku/inc/init.php:251\n
Stack trace:\n#0 /usr/local/www/apache24/data/doku/inc/init.php(172): init_session()\n
#1 /usr/local/www/apache24/data/doku/install.php(23): require_once('...')\n
#2 {main}\n thrown in /usr/local/www/apache24/data/doku/inc/init.php on line 251
Could someone please suggest how I go about fixing this? Do I need to go back to an earlier version of PHP?
Thanks