Загрузка страницы

Install Magento 2.4.1 on Windows 10 using Composer and Command line Localhost XAMPP |

Install Magento 2.4.1 on Windows 10 using Composer and Command line Localhost XAMPP
Ok, Let's go...

1. Download Install XAMPP and Composer

2. Install Elasticsearch & run and test
Ok
E:\xampp\htdocs\elasticsearch\bin\elasticsearch.bat

http://localhost:9200/
do not turn off elasticsearch

3.Download Magento 2.4 from magento official site

note on windows:
Find validateURLScheme function in vendor\magento\framework\Image\Adapter\Gd2.php file. at line 86. Replace function with this:

private function validateURLScheme(string $filename) : bool
{
$allowed_schemes = ['ftp', 'ftps', 'http', 'https'];
$url = parse_url($filename);
if ($url && isset($url['scheme']) && !in_array($url['scheme'], $allowed_schemes) && !file_exists($filename)) {
return false;
}

return true;
}

---------------------------------
Now, Install magento v2.4.1
Command line:

php bin/magento setup:install --base-url="http://localhost/mage2.4" --db-host="localhost" --db-name="db_mage2.4" --db-user="root" --db-password="" --admin-firstname="admin" --admin-lastname="admin" --admin-email="user@example.com" --admin-user="admin" --admin-password="admin123" --use-rewrites="1" --backend-frontname="admin"
Enable Extesion : intl , soap ,socket ,xls
do not turn off elasticsearch
please waiting install......... 1h, ok

4. Test and see the result

php bin/magento indexer:reindex
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
php bin/magento cache:clean
php bin/magento cache:flush

Note: On Xampp Windows

Change Symlink to copy in file di.xml
Find file Validator.php in ...Magento\Framework\View\Element\Template\File
At around line 138 replace code with this one

$realPath = str_replace('\\', '/',$this-fileDriver-getRealPath($path));

Run : php bin/magento cache:flush

http://localhost/mage2.4/

php bin/magento module:disable Magento_TwoFactorAuth

Ok, Thanks for watching.

#magento2.4installationwindows
Video Keywords :
magento 2.4 installation,
magento 2.4 install command line

Видео Install Magento 2.4.1 on Windows 10 using Composer and Command line Localhost XAMPP | канала Rocking Support
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
13 ноября 2020 г. 3:03:19
00:20:59
Другие видео канала
How to add a custom field to checkout page in Magento 2How to add a custom field to checkout page in Magento 2Install magento 2.4.x on xampp | Install magento 2 using composer windows | install magento 2.4.1Install magento 2.4.x on xampp | Install magento 2 using composer windows | install magento 2.4.1Install Magento 2.4 in Windows 10 using composer and command line with ElasticsearchInstall Magento 2.4 in Windows 10 using composer and command line with ElasticsearchHow to install magento2.4.3 on Windows 10 using composer, command line,elasticsearch localhost XamppHow to install magento2.4.3 on Windows 10 using composer, command line,elasticsearch localhost XamppHow to Install Magento 2 on XAMPP | Installing Magento 2 on XAMPP Got Stuck at 51% [SOLVED]How to Install Magento 2 on XAMPP | Installing Magento 2 on XAMPP Got Stuck at 51% [SOLVED]I Made a LEGO Robot, to Cheat on Mobile Games...I Made a LEGO Robot, to Cheat on Mobile Games...How to install Magento 2.4.1 on Windows 10 using composer | Wamp Server | EnglishHow to install Magento 2.4.1 on Windows 10 using composer | Wamp Server | EnglishHow to install Magento 2.4 and build a web server - Magento 2 TutorialHow to install Magento 2.4 and build a web server - Magento 2 TutorialSolved:How to install magento 2.x using composer in windows localhost without errorSolved:How to install magento 2.x using composer in windows localhost without errorHow to install Magento 2.4 on Windows 10 with XAMPP (2021)How to install Magento 2.4 on Windows 10 with XAMPP (2021)Install Magento 2.4 with sample data on Xampp, Windows 10 by Composer and Command lineInstall Magento 2.4 with sample data on Xampp, Windows 10 by Composer and Command lineMagento 2.4.1 Installation each step | Magento 2.4 installtion in Hindi #magento2.4Magento 2.4.1 Installation each step | Magento 2.4 installtion in Hindi #magento2.4Install Magento 2.4 with Apache, PHP, MySQL and Elasticsearch on MAC - Magento 2 BeginnersInstall Magento 2.4 with Apache, PHP, MySQL and Elasticsearch on MAC - Magento 2 BeginnersHow to install magento2.4.2 on Windows 10 using composer, command line,elasticsearch localhost XamppHow to install magento2.4.2 on Windows 10 using composer, command line,elasticsearch localhost XamppXAMPP PHP 5.6 to 7.4 update without re-install xampp in windows OSXAMPP PHP 5.6 to 7.4 update without re-install xampp in windows OSHow to create a custom module in Magento 2How to create a custom module in Magento 2Magento 2 Tutorial in Hindi #1 Introduction and InstallationMagento 2 Tutorial in Hindi #1 Introduction and InstallationAdobe Commerce Powered by Magento Overview Demo / 2021 Magento Overview TutorialAdobe Commerce Powered by Magento Overview Demo / 2021 Magento Overview TutorialSetup Laravel On Windows with XAMPPSetup Laravel On Windows with XAMPPLearn Laravel 8 Beginners Tutorial #83 Send Email Using Gmail SMTP in LaravelLearn Laravel 8 Beginners Tutorial #83 Send Email Using Gmail SMTP in Laravel
Яндекс.Метрика