I need to install several extensions. I don’t have SSH to that host so I need to be able to do everything with FTP + magento 2 backend.
So far I’ve copied the extension files on the /app/ dir.
Looking at extension istructions i see this:
php bin/magento setup:upgrade
php bin/magento cache:flush
php bin/magento setup:static-content:deploy
There is a way to accomplish this in another way? Installing extensions in Magento feels really cumbersome and awkward compared to other CMS like WordPress or Drupal.
Update
I found an article that suggests to do this:
Edit app/etc/config.php file and three line code:
‘Ves_All’ => 1,
‘Ves_Megamenu’ => 1,
‘Ves_Setup’ => 1,
But I have no clue what is that and I haven’t found so far any info about those options.
2
Answers
Make a new php file Let say “updater.php” and paste following code in it (add php tags at start n end of file).
We are using system() function to run PHP SSH commands.
Upload this file in your Web root and access it using
http://yourdomain/updater.php
You will see output of commands after few seconds
If you can upload file to your server, you can use my file to run magento command line
Realy sorry!I cannot upload php file here. So you can down it on this pagehttp://www.mageoneplus.com/how-to-run-magento-command-line-without-ssh-access.html