Hello. i want to run a server for me and some friends. but i downloaded uniform server and gesior account website. but when i want to go to localhost i get error 500. and in apache logs its shows the following errors;
[Thu Jun 24 19:07:07.625501 2021] [php:error] [pid 10268:tid 1848] [client ::1:58256] PHP Fatal error: Declaration of OTS_Base_DB::query($query) must be compatible with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchModeArgs) in C:\\uniform\\UniServerZ\\www\\system\\libs\\pot\\OTS_Base_DB.php on line 77
[Thu Jun 24 19:07:12.923047 2021] [php:error] [pid 10268:tid 1848] [client 128.199.89.17:57883] script 'C:/uniform/UniServerZ/www/install/xmlrpc.php' not found or unable to stat
[Thu Jun 24 19:09:19.125029 2021] [php:error] [pid 10268:tid 1848] [client ::1:61329] PHP Fatal error: Declaration of OTS_Base_DB::query($query) must be compatible with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchModeArgs) in C:\\uniform\\UniServerZ\\www\\system\\libs\\pot\\OTS_Base_DB.php on line 77
i thought maybe im using wrong php version?? im using php 8, it was the only one i could select in uniform control or php7. but when i selected php7 i got an error apache couldnt start and no error in logs i think. someone knows what i should do? thanks
[Thu Jun 24 19:07:07.625501 2021] [php:error] [pid 10268:tid 1848] [client ::1:58256] PHP Fatal error: Declaration of OTS_Base_DB::query($query) must be compatible with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchModeArgs) in C:\\uniform\\UniServerZ\\www\\system\\libs\\pot\\OTS_Base_DB.php on line 77
[Thu Jun 24 19:07:12.923047 2021] [php:error] [pid 10268:tid 1848] [client 128.199.89.17:57883] script 'C:/uniform/UniServerZ/www/install/xmlrpc.php' not found or unable to stat
[Thu Jun 24 19:09:19.125029 2021] [php:error] [pid 10268:tid 1848] [client ::1:61329] PHP Fatal error: Declaration of OTS_Base_DB::query($query) must be compatible with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchModeArgs) in C:\\uniform\\UniServerZ\\www\\system\\libs\\pot\\OTS_Base_DB.php on line 77
i thought maybe im using wrong php version?? im using php 8, it was the only one i could select in uniform control or php7. but when i selected php7 i got an error apache couldnt start and no error in logs i think. someone knows what i should do? thanks