How to install Magento 2 extension from zip file - 6 Steps to install Magento 2 extension
In this post tutorial, we will provide a guide showing how to install Magento 2 extensions in seconds. If you are buying a commercial Magento extension this would very likely be sent to you as a zip file. For extensions listed on Magento connect you could use freegento's direct download (see link above) to download (this gives you a .tgz file which you would need to unpack a zip file)
Related post:
Related post:
How to install Magento 2 extension from .zip file |
Follow 6 steps below:
Step 1: Extract the ZIP-file domestically and examine the contents
Let's say we've associate example ZIP-file known as that containsAR_Example.zip a module name Example. the primary step is to extract all files contained at intervals the ZIP-file to your native pc. The extracted folder-structure might look a little like this:- app/etc/modules/AR_Example.xml
- app/code/community/AR/Example
- app/etc/modules/AR_Example.xml
- app/code/community/AR/Example
- package.xml
Step 2: Disable the Magento Compiler
Magento has introduced a brand new feature known as the Compiler, that permits you to merge all PHP-files into one folder, that races a number of the PHP-functions that Magento uses. If you've got enabled the Magento Compiler, check that to disable it before creating any changes. you'll be able to disable the Compiler through the Magento backend.If you've got not enabled the Compiler nevertheless, don't simply alter it to visualize what happens. it's a dangerous tool that might bring down your search simply. check that you browse all documentation regarding Magento performance before sanctioning the Compiler.Step 3: Uploading all files to the Magento filesystem
Now you are able to transfer all files to the Magento root-filesystem. once you have SSH or SFTP obtainable, it's best to use that - it offers you a securely encrypted association to your Magento server. or else, use FTP or management panels like CPanel or DirectAdmin.Step 4: Refresh the Magento cache
The next step is to refresh the Magento cache. this will be done through the Magento backend. rather than refreshing the Magento cache gently, we tend to advocate you employ the button Flush Cache to create certain all left-over files square measure gone. Sometimes that is not even enough: If you're exploitation Magento caching with default configuration-settings - that means, the cache is held on in files - you'll be able to conjointly attempt removing all the files from the Magento folder var/cache.Step 5: Logout from the Magento backend
This step is very important. Logout from the Magento backend. This causes you to lose your PHP-session. Next, log in once more.Step 6: Re-enable the Magento Compiler
If you had the Magento Compiler enabled before, and you disabled it in step two, you'll be able to try and alter the Compiler once more through the Magento backend. check that to make the Compiler Cache, otherwise, the new extension (or changed files) won't be enclosed. note of all our warnings beneath step two.If things get it wrong here, take away the file.includes/config.php This effectively disables the Compiler yet. Success
Video how to install Magento extensions from zip file:
How to install Magento 2 extension from zip file - 6 Steps to install Magento 2 extension
Reviewed by Anonymous
on
March 02, 2018
Rating:
No comments: