- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Litemage installation for multi-store
Hi,
How install Litemage on server for multistores Magento ???
Because
php bin/magento setup:di:compile-multi-tenant
is not allowed since last version.
Many thanks for your help
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Litemage installation for multi-store
Hello @contactbeed440
Run the following command to add the LiteMage module:
composer require litespeed/module-litemage
Enable the LiteMage module:
php bin/magento module:enable Litespeed_Litemage
Update the database and regenerate static files:
php bin/magento setup:upgrade php bin/magento setup:static-content:deploy php bin/magento cache:clean
Hope it helps !
If you find our reply helpful, please give us kudos.
A Leading Magento Development Agency That Delivers Powerful Results, Innovation, and Secure Digital Transformation.
WebDesk Solution Support Team
Get a Free Quote | | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789
Thank You,
WebDesk Solution Support Team
Get a Free Quote | Email | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789
Location: 150 King St. W. Toronto, ON M5H 1J9
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Litemage installation for multi-store
Hello @contactbeed440 ,
First you must install LiteMage, and then activate it in the Magento administration panel.
To install LiteMage on Magento 2, follow these steps:
Access your account using SSH.
Change to the directory where Magento is installed. For example, type cd ~/public_html/magento.
At the command prompt, to set Magento to developer mode, type the following command:
php bin/magento deploy:mode:set developer
To download the LiteMage plugin files, type the following command:wget https://github.com/litespeedtech/magento2-LiteSpeed_LiteMage/archive/master.zip
To extract the files in the .zip file, type the following command:
unzip master.zip
To create a directory for the LiteMage plugin files, type the following command:
mkdir -p app/code/Litespeed/Litemage
To move the unpacked LiteMage plugin files to the new directory, type the following command:
mv magento2-LiteSpeed_LiteMage-master/* app/code/Litespeed/Litemage/
To enable the LiteMage plugin, type the following command:
php bin/magento module:enable Litespeed_Litemage
To make the plugin settings available to the Magento Admin panel, type the following command:
php bin/magento setup:upgrade
To recompile Magento, type one of the following commands:
If you are running Magento version 2.0.6 or later and have only one Magento store, type the
following command:
php bin/magento setup:di:compile
Alternatively, if you are running Magento version 2.0.5 or earlier or have multiple Magento stores, type the following command:
php bin/magento setup:di:compile-multi-tenant
To set Magento back to production mode, type the following command:
php bin/magento deploy:mode:set production
Using the cPanel File Manager or the SSH command prompt, open the .htaccess file in the
Magento root directory in your preferred text editor, and then:
Copy the following text and paste it at the top of the .htaccess file:
<IfModule Litespeed>
LiteMage on
</IfModule>
Activating LiteMage
To activate LiteMage on Magento 2, follow these steps:
Log in to Magento as the administrator.
In the left sidebar, click STORES, and then click Configuration.
Click ADVANCED, and then click System.
Click Full Page Cache.
In the Caching Application list box, confirm that LiteMage Cache within LiteSpeed Server is selected. If LiteMage Cache within LiteSpeed Server is not selected, select it in the Caching Application list box, and then click Save Config.
In the left sidebar, click SYSTEM, and then click Cache Management.
Select the Configuration and Page Cache check boxes.
In the list box above the table, select Refresh, and then click Submit.
If the issue will be resolved, Click Kudos & Accept as a Solution.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Litemage installation for multi-store
Dr. Deepak Verma, a renowned psychiatrist in Paschim Vihar, offers personalized and holistic mental care at Headspace Mind Clinic. With years of experience and a strong academic background, he provides expert diagnosis and treatment for a wide range of mental conditions, including anxiety, depression, and bipolar disorder. His compassionate approach and commitment to patient well-being ensure a positive and supportive experience.
psychiatrists in paschim vihar
Dermatology , Venereology & Leprosy Dermatologist Dr. Meenakshi Kapoor, renowned as the best dermatologist in Rohini, provides a comprehensive range of top-tier medical services. Her expertise covers an array of services, including Skin Care, Skin Tag Treatment, Hair Treatment, Hair Loss Treatment, Hair Regrowth, and many more. Dr. Kapoor’s commitment to staying updated with the latest dermatologist in rohini