I am trying to create a laravel project, but this error is popping out:
Creating a "laravel/laravel" project at "./firstProject"
In CurlDownloader.php line 197:
curl_setopt(): Unable to create temporary file.
create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--add-repository] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--remove-vcs] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--ask] [--] [<package> [<directory> [<version>]]]
After I did a search on the curl_setopt() I understood what its function is, but I still didn't figure out how to fix the problem.
I need help please. Thank you for your time.


sys_temp_dirin php.ini ?