rolandbreedveld wrote: Saturday 08 February 2020 21:58
jeroenkl wrote: Saturday 08 February 2020 19:44
PHP Fatal error: Uncaught Error: Call to undefined function curl_init() in /home/pi/nest-api/nest.class.php:1256
Hi Jeroen
answer is simple your missing php-curl, php5-curl or php7-curl, depending of your php version
sudo apt install ....
succes,Roland
Thanks!
Yes indeed, need to install it
pi@raspberrypi:~ $ php -v
PHP 7.3.11-1~deb10u1 (cli) (built: Oct 26 2019 14:14:18) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.11, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.3.11-1~deb10u1, Copyright (c) 1999-2018, by Zend Technologies
pi@raspberrypi:~ $ sudo apt install php-curl
I've got only a nest protect, should your script run properly?
BR,
Jeroen