How to Install Magento 2.4.1 in windows xampp server
Magento 2.4 system requirements
1. Browsers: Any Browser which you are running on your windows system
like following
- Microsoft Edge (latest)
- Mozilla (latest)
- Chrome (latest)
2. Composer: Its Require for mostly development purpose, Because most of the developer like to change or customize the things so you can download this from a link.
3. Database: If you are using xampp then check the version of xampp and please sure about the version of the database like
- Mysql 8.0
4.PHP Version: Please sure you are using the right version of PHP for Magento 2.4 installation
- PHP Version 7.3 or 7.4
5. PHP Extension: Most of the extensions are enabled by default in xampp so only you need to enable the following extension by removing ';'
for example
;extension=soap
after you remove
extension=soap
- ext-intl
- ext-soap
- ext-xsl
- ext-sockets
6. ElasticSearch: Install elasticsearch Before you begin to install Magento 2.4 if you are a first time user then don't use the command line (CLI or CMD ) just go to this link and download GUI Interference of elasticsearch and download easily and install like any other software you install on daily basis.
7. Download the Magento 2.4 version from the official website of Magento click here to find the Magento Downloads
8. After Download make the folder on xampp and unzip the Magento 2.4 on your xampp server.
9. Open your command line (CMD) and put open your folder from xampp path and put the following code :
php bin/magento setup:install --base-url="http://localhost/project/" --db-host="localhost" --db-name="magento" --db-user="root" --admin-firstname="admin" --admin-lastname="admin" --admin-email="admin@admin.com" --admin-user="admin" --admin-password="admin123" --language="en_US" --currency="INR" --timezone="America/Chicago" --use-rewrites="1" --backend-frontname="admin"
If you have any query regarding this post just comment so I can solve your all problems regarding this blog or Magento
Find validateURLScheme function in
vendor\magento\framework\Image\Adapter\Gd2.php file.
at line 96. 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;
}
Perfect very helpful blog by Mr.Manoj
ReplyDeleteThank you so much for your appreciate
Delete