I was trying to install Agora 26.2.9 on my server with PHP 7.4 and post filling all the necessary details, script gives success message. However it again redirects to the installer. Upon debugging I found that the installer is failing to save the details in /DATAS/config.inc.php file. I check the error log and it gives the following error.
Array ( [type] => 1 [message] => Uncaught Error: Undefined constant "db_host" in [[PATH]]/agora2629/app/Common/Db.php:26 Stack trace: #0 [[PATH]]/agora2629/app/Common/Db.php(75): Db::objPDO() #1 [[PATH]]/agora2629/app/ModAgora/MdlAgora.php(25): Db::getLine('select * from a...') #2 [[PATH]]/agora2629/app/Common/Ctrl.php(45): MdlAgora->__construct() #3 [[PATH]]/agora2629/app/Common/Req.php(62): Ctrl::initCtrl() #4 [[PATH]]/agora2629/index.php(13): Req->__construct() #5 {main} thrown [file] => [[PATH]]/agora2629/app/Common/Db.php [line] => 26 )
I guess this is happening because the default config.inc.php file does not have db_host, db_name, db_login, db_passsword parameters unlike previous releases and the installer is searching for it and throwing error.
I tried with PHP 8.2 as well and getting the same error.
Also can you please confirm what the minimum PHP needed to install the latest version on Agora ? I tried to find the requirements documentation but did not find it.
Omnispace - The Agora Project