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
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
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![How to add a custom field to checkout page in Magento 2](https://i.ytimg.com/vi/WzSB3FbtXYE/default.jpg)
![Install magento 2.4.x on xampp | Install magento 2 using composer windows | install magento 2.4.1](https://i.ytimg.com/vi/P7ryJfp_9AU/default.jpg)
![Install Magento 2.4 in Windows 10 using composer and command line with Elasticsearch](https://i.ytimg.com/vi/blwW-4p9We0/default.jpg)
![How to install magento2.4.3 on Windows 10 using composer, command line,elasticsearch localhost Xampp](https://i.ytimg.com/vi/sOWEKfyZXuM/default.jpg)
![How to Install Magento 2 on XAMPP | Installing Magento 2 on XAMPP Got Stuck at 51% [SOLVED]](https://i.ytimg.com/vi/fo-D6xwIR9o/default.jpg)
![I Made a LEGO Robot, to Cheat on Mobile Games...](https://i.ytimg.com/vi/kNW-e-Brbo4/default.jpg)
![How to install Magento 2.4.1 on Windows 10 using composer | Wamp Server | English](https://i.ytimg.com/vi/SGdyvgezc-o/default.jpg)
![How to install Magento 2.4 and build a web server - Magento 2 Tutorial](https://i.ytimg.com/vi/lu6NkGUFOnQ/default.jpg)
![Solved:How to install magento 2.x using composer in windows localhost without error](https://i.ytimg.com/vi/4Oqjm7jd1Ig/default.jpg)
![How to install Magento 2.4 on Windows 10 with XAMPP (2021)](https://i.ytimg.com/vi/3fNjgs1p42A/default.jpg)
![Install Magento 2.4 with sample data on Xampp, Windows 10 by Composer and Command line](https://i.ytimg.com/vi/yeHcOMeDoJ0/default.jpg)
![Magento 2.4.1 Installation each step | Magento 2.4 installtion in Hindi #magento2.4](https://i.ytimg.com/vi/VgRK-9nOOKU/default.jpg)
![Install Magento 2.4 with Apache, PHP, MySQL and Elasticsearch on MAC - Magento 2 Beginners](https://i.ytimg.com/vi/rtuIAHUjL6M/default.jpg)
![How to install magento2.4.2 on Windows 10 using composer, command line,elasticsearch localhost Xampp](https://i.ytimg.com/vi/Hc8SsGs8Q48/default.jpg)
![XAMPP PHP 5.6 to 7.4 update without re-install xampp in windows OS](https://i.ytimg.com/vi/wDNpmMHl49s/default.jpg)
![How to create a custom module in Magento 2](https://i.ytimg.com/vi/CwsxIQLuvBU/default.jpg)
![Magento 2 Tutorial in Hindi #1 Introduction and Installation](https://i.ytimg.com/vi/vw4fLahgRpw/default.jpg)
![Adobe Commerce Powered by Magento Overview Demo / 2021 Magento Overview Tutorial](https://i.ytimg.com/vi/nFdz9DZrdFc/default.jpg)
![Setup Laravel On Windows with XAMPP](https://i.ytimg.com/vi/ieDfmMHfI8U/default.jpg)
![Learn Laravel 8 Beginners Tutorial #83 Send Email Using Gmail SMTP in Laravel](https://i.ytimg.com/vi/XMUArtkDy0A/default.jpg)