0

enter image description hereenter image description here

I have tried installing magento 2.4 through command line. But it is showing error like encryption key not specified. Can anyone please help? I am using windows 10

3
  • I think secure url will not work on localhost,try --base-url="localhost/magento" instead of "--base-url-secure="localhost/magento"
    – Pawan
    Nov 13 '20 at 5:08
  • @Pawan the problem is when i hit localhost/magento , it is showing just setup landing page without continue button
    – ajay
    Nov 13 '20 at 5:16
  • @Pawan see the first screenshot
    – ajay
    Nov 13 '20 at 5:17
1

Try this

php -d memory_limit=-1 bin/magento setup:install \
--base-url="http://127.0.0.1/magento" \
--db-host="127.0.0.1:3308" \
--db-name="magento" \
--db-user="root" \
--db-password="" \
--admin-firstname="admin"  \
--admin-lastname="admin"  \
--admin-email="admin@admin.com"  \
--admin-user="admin"  \
--admin-password="admin123"  \
--language="en_US"  \
--currency="USD"  \
--timezone="America/Chicago"  \
--use-rewrites="1"  \
--backend-frontname="admin"  \
--elasticsearch-host="127.0.0.1:9200"
9
  • i think elastic search wont work in local. Can i disable that modules?
    – ajay
    Nov 13 '20 at 6:24
  • elasticseach is mandatory in magneto 2.4 according to Docs devdocs.magento.com/guides/v2.4/install-gde/… Nov 13 '20 at 6:34
  • Will it work in local?
    – ajay
    Nov 13 '20 at 6:45
  • yes it works on local if you want installation guide i can provide you Nov 13 '20 at 6:51
  • yes please provide. I am using wamp
    – ajay
    Nov 13 '20 at 7:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.