How to run command prompt in Godaddy for installing porto theme?

The question:

I am using Porto theme in localhost. I am using following commands to run Enable Theme for Currently Active store.

 php bin/magento setup:upgrade
 php bin/magento setup:static-content:deploy

Now, we are going to live the website by using GoDaddy hosting.

enter image description here

In localhost, I am using the composer.

I have connected Putty with my IP successfully.

But, It is asking for Passphrase for key.

enter image description here

The Solutions:

Below are the methods you can try. The first solution is probably the best. Try others if the first one doesn’t work. Senior developers aren’t just copying/pasting – they read the methods carefully & apply them wisely to each case.

Method 1

Do following steps:

  1. Open your putty then enter your website’s IP address only.
  2. Don’t import any keys of SSH then click on Open.
  3. Enter your Cpanel’s username.
  4. After insert your password.
  5. Add your Path like public_html/.

Then run the following commands to upgrade.

php bin/magento setup:upgrade
php bin/magento cache:flush
php bin/magento cache:clean
php bin/magento setup:static-content:deploy

Method 2

Connect Your server via ssh

in linux you can connect via terminal using this command ssh [email protected](or domain)

or if you are using windows you can connect via putty.

after connecting via ssh go to your magento root directory via cd yourMagentoPath

and fire those command

php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy

Method 3

You need the SSH access from server.

If you are using Shared server, then you have asked to Go-daddy that they are providing SSH access.

I think SSH access is not provided in shared server. So, Ask your vendor for SSH access.


All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Comment