0

I am getting error when i install the magento 2.4.7 in xampp, after some correction i successfully installed it. I made update in app\etc\env.php and index.php

Is there any problem in future for update magento version.

app\etc\env.php

 'system' => [ 'default' => [ 'web' => [ 'unsecure' => [ 'base_media_url' => '{{secure_base_url}}pub/media/', 'base_static_url' => '{{secure_base_url}}pub/static/' ], 'secure' => [ 'base_media_url' => '{{secure_base_url}}pub/media/', 'base_static_url' => '{{secure_base_url}}pub/static/' ] ] ] ], 

index.php

 //require __DIR__ . '/../app/bootstrap.php'; require __DIR__ . '/app/bootstrap.php'; 

1 Answer 1

0

You can run the commands in your root directory "cd C:\xampp\htdocs\demo"

php bin/magento setup:install --base-url="http://localhost/demo/pub/" --db-host="localhost" --db-name="demo" --db-user="user" --db-password="root" --admin-firstname="Admin" --admin-lastname="Admin" --admin-email="[email protected]" --admin-user="admin" --admin-password="Admin@123" --use-rewrites="1" --backend-frontname="admin"

change the credentials and url accordingly.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.