Expand my Community achievements bar.

Best way to update core file in Magento 2.4

Avatar

Level 2

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';

 

 

0 Replies