Some Important Command Releted to Magento Server :
Hello Magento Friends todays i'm share with you to Some Important Command Releted to Magento Server
Bellow are command to vary imporatnt please run very carefully :
1) To Give Permission in folder in Server :
chmod -R 777 pub/media && chmod -R 777 pub/static && chmod -R 777 generated && chmod -R 777 var/cache/
2) To Remove folder in Server :
rm -rf var/cache/* && rm -rf var/page_cache/* && rm -rf var/view_preprocessed/* && rm -rf pub/static/frontend/* && rm -rf generated/code && rm -rf generated/metadata
3) After then Run Bellow Coammnd :
bin/magento s:d:c && bin/magento s:s:d -f && sudo chmod 777 -R var/* pub/static/*
4) To mysql, php,nginx in Server :
sudo systemctl restart mysql && sudo systemctl restart php7.4-fpm && sudo systemctl restart nginx
systemctl restart mysql && systemctl restart php8.1-fpm && systemctl restart nginx
Tags:
Server Command
.png)
.png)
.png)
.png)
.png)