xampp is legacy and bad configured. The best solution for local web-servers is OpenServer (5 or 6 version, they're different a lot, but both <3). xampp is more promoted and famous, but it's like a broken crutch which is highly not recommended to use, while OpenServer is made proper, right and working without any problems
laravel 12.x installation problem for xampp
my xampp is 8.2.12. now in my windows 11, in cmd when write command "composer global require laravel/installer" it says below error
Changed current directory to C:/Users/Heera/AppData/Roaming/Composer
Installation failed, deleting ./composer.json.
In RequireCommand.php line 226:
No composer.json present in the current directory (./composer.json), this may be the cause of the following excepti on.
In CurlDownloader.php line 390:
curl error 60 while downloading https://repo.packagist.org/packages.json: SSL certificate problem: unable to get lo cal issuer certificate
require [--dev] [--dry-run] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--fixed] [--no-suggest] [--no-progress] [--no-update] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--update-no-dev] [-w|--update-with-dependencies] [-W|--update-with-all-dependencies] [--with-dependencies] [--with-all-dependencies] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-m|--minimal-changes] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--] [...]
how to solve
Please or to participate in this conversation.