Environment:
elasticsearch:
name | "zzF3KA8RE" |
cluster_name | "elasticsearch" |
cluster_uuid | "cQMrmgBVQE-fIv1g-l8FJg" |
version | |
number | "7.17.0" |
build_flavor | "default" |
build_type | "zip" |
build_hash | "bee86328705acaa9a6daede7140defd4d9ec56bd" |
build_date | "2022-01-28T08:36:04.875279988Z" |
build_snapshot | false |
lucene_version | "8.11.1" |
minimum_wire_compatibility_version | "6.8.0" |
minimum_index_compatibility_version | "6.0.0-beta1" |
tagline | "You Know, for Search" |
install command:
php bin/magento setup:install --base-url="http://tm.magento.com/" --db-host="localhost" --db-name="magento2" --db-user="root" --db-password="root" --admin-firstname="admin" --admin-lastname="admin" --admin-email="user@example.com" --admin-user="admin" --admin-password="Admin@123456" --language="en_US" --currency="USD" --timezone="America/Chicago" --use-rewrites="1" --backend-frontname="admin" --search-engine=elasticsearch7 --elasticsearch-host="localhost" --elasticsearch-port=9200
when I try to install Magento but got error:
I would avoid running Magento 2 on Windows, but if you really have to, then use Docker.