FatalErrorException in AccountRepository.php line 387

Hello.

Today I managed to install Invoice Ninja. Setup went OK, database tables were created etc.

After the login I get FatalErrorException.

Whoops, looks like something went wrong. 1/1 FatalErrorException in AccountRepository.php line 387: Call to undefined function App\Ninja\Repositories\curl_init() in AccountRepository.php line 387

My setup:
Apache 2.4 x86 Windows:
PHP Version 5.6.20

Any suggestions?
Thank you
Br,
Dali

Maybe this will help…

http://stackoverflow.com/questions/6382539/call-to-undefined-function-curl-init

Thank you.

Exactly! CURL was not enabled. On windows you need to copy files to folders in order for CURL to work.

Locate your php folder and follow these instructions:

Move to Windows\system32 folder:
libssh2.dll, php_curl.dll, ssleay32.dll, libeay32.dll
Move to Apache24\bin folder
libssh2.dll
Uncomment extension=php_curl.dll

Br,
Dali