i want to install marketplace extension on magento 2.2 but don't know how. i've opend my ssh but what to do now? or do i have to upload this extension's files directly on cPanel? If yes, then please tell me the path where the file of extension should be uploaded. can anyone help me with this?
To install your extension by ssh and magento cli, upload your module files on
app/code folder. Pay attention on the extension files, there is a structure that it must respect, see how it must appear:
app/code/YourVendor/YourModule/ all other module files ...
so you can run this comands (be with prompt on your magento folder installation):
php bin/magento module:status to list all your modules, installed or not.
php bin/magento module:enable YourVendor_YourModule to enable your module, where "YourVendor" and "YourModule" must be overrided by vendor name and module name.
php bin/magento setup:upgrade setup your module configurations on magento.
And depending of what your module do, and where it acts, the following commands must be necessary, maybe.
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
after uploading my marketplace-module in
i've run the command as
php bin/magento module:status
i checked the file permission of magento in
bin/magento it is set to 0755 after that i tried to change the permission to 0777 but no chnage im still getting this error
could not open the file bin/magento
can anoyone tell me what is going wrong from my side? thanks in advance.
You are getting
could not open the file bin/magento because you are not running the command from your Magento installation location, instead you are trying to run it from your home directory.