重新安装Magento1.9的方法
删除/app/etc/local.xml文件
$ rm local.xml
$ rm -rf cache/
sunyang@alexDroplet:/var/www/html/sun_ls2/app/etc$ ls
sunyang@alexDroplet:/var/www/html/sun_ls2/app/etc$ config.xml local.xml local.xml.additional local.xml.template modules
sunyang@alexDroplet:/var/www/html/sun_ls2/app/etc$ rm local.xml
sunyang@alexDroplet:/var/www/html/sun_ls2/app/etc$
然后运行站点就出现安装步骤的界面如下 :
参考:
https://docs.magento.com/m1/ce/user_guide/magento/magento-reinstall.html