cancel
Showing results for 
Search instead for 
Did you mean: 

No bin/magento directory

No bin/magento directory

Magento 1.9.2.1 is running fine on a dedicated host however most documentation I find references changing directories to the root installation of magento and perform commands that typically start with `php bin/magento` but my magento installation does not have a bin directory at root of installation so how do I use command line with magento?

4 REPLIES

Re: No bin/magento directory

Hi @TeamVeg,


bin/magento is for Magento 2.

In Magento 1 you have the shell directory with some classes that you can run in this way:

 

php -f file.php

Where file could be, for example, logger.php.

Which command do you want to execute on Magento 1?

--
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution"

Re: No bin/magento directory

Thank you for the reply @Damian Culotta.
I know this references 2.0 but I wanted to list my magento backups.
The documentation states to perform the following command which unfortunately does not work either

magento info:backups:list



Re: No bin/magento directory

Hi @TeamVeg,

 

It won't work on Magento 1 because the console doesn't exists.

Maybe you want to explore Magerun

 

--
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution"

Re: No bin/magento directory

For magento 1 and magento 2 both have different command and you cant use same magento 2 command in magento 1.
Magento 1 you can use shell command and for backup i dont think there are any command listed for magento 1.

If Issue Solved, Click Kudos/Accept As solutions.