Please help me! I installed composer and then I create Laravel project via command:
composer create-project Laravel/Laravel myapp
but it show error message:
[RuntimeException] php: does not exist and could not be created
How to solve?
Here my full command prompt:
C:\xampp\htdocs>composer create-project laravel/laravel cms
Creating a "laravel/laravel" project at "./cms"
Installing laravel/laravel (v8.5.22)
- Installing laravel/laravel (v8.5.22): Extracting archive
[RuntimeException]
php: does not exist and could not be created.
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] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--ask] [--] [<package>] [<directory>] [<version>]