Magento 1 CLI
User documentation
26/08/2026
CLI commands are located in PHP files in the httpdocs/shell2 folder.
Commands are as follows:
indexer.php - Manages database indexers:
php shell/indexer.php --statusphp
shell/indexer.php --reindexallphp
shell/indexer.php info
compiler.php - Controls the performance compiler:
php shell/compiler.php statephp
shell/compiler.php compilephp
shell/compiler.php disable
log.php - Cleans up database log tables:
php shell/log.php statusphp
shell/log.php clean
abstract.php - Base class for custom scripts:
(Not executed directly)