Call to undefined function curl_init()
Nzoth9 opened this issue · 2 comments
Nzoth9 commented
Hello there. First of all, thank you for creating such a great program.
I followed the wiki and installed it on my Debian (Kali LINUX).
I then unzipped it to /var/www/html and after many steps, I made it to /manage/install
.
However, any subsequent access to the dashboard will result in a 500 error.
This will also check the error log.
[Mon Apr 10 00:50:05.366132 2023] [php7:error] [pid 973814] [client 160.238.37.149:45838] PHP Fatal error:
Uncaught Error: Call to undefined function curl_init() in /var/www/html/app/controllers/Dashboard.php:55\n
Stack trace:\n#0 /var/www/html/system/Router.php(70): Dashboard->index()\n#1 /var/www/html/init.php(22): Router->proccess()\n#2 {main}\n thrown in /var/www/html/app/controllers/Dashboard.php on line 55,
referer: https://ds.io/manage/account/login
The same error occurs with php-curl and curl, even when restarting the service after installation using apt.
Here's the source code for that part of the error.
Nzoth9 commented
I had PHP versions 7.3, 7.4, and 8.3 installed on my cali, but after deleting all versions except 8.3 and installing php-curl, it worked fine. I apologize for the fuss.