New answers tagged cli
1
Setup upgrade:
php bin/magento s:up
Cache Flush:
php bin/magento c:f
Disable Cache:
php bin/magento c:d
Enable Cache:
php bin/magento c:e
Static Content Deploy:
php bin/magento s:s:d
Di Compile:
php bin/magento s:d:c
Var clean folder:
php bin/magento v:c
Uninstall Magento application:
php bin/magento s:un
Runs cron job scheduled for setup application:
...
2
Please Use Git Bash For Command Line In Windows 10
https://git-scm.com/downloads
1- Start Wamp or Xamp Server
2- Go to Project Directory
3- Right Click and Select Git Bash Here
https://i.stack.imgur.com/hhPmv.png
4-Run magento commands here
https://i.stack.imgur.com/Cu2kY.png
If you face any issue . please commit, i am available for help
0
In case someone is still looking for answer try
php bin\magento
0
Copy these commands and run
find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;
find var pub/static pub/media generated/ app/etc -type f -exec chmod g+w {} \;
find var pub/static pub/media generated/ app/etc -type d -exec chmod g+ws {} \;
chmod u+x bin/magento
Then Run
sudo php bin/magento setup:upgrade
php bin/magento setup:di:...
0
It was php version issue, magento 2.3.5-p1 requires 7.3 php version, in system it was 8.0.
Setting php version 7.3, solves the error.
Top 50 recent answers are included
Related Tags
cli × 276magento2 × 197
magento-2.1 × 29
error × 27
command-line × 23
php × 16
upgrade × 15
command × 15
module × 13
installation × 13
reindex × 13
magento2.3 × 12
database × 12
cron × 10
composer × 9
magento2.2 × 8
setup-di-compile × 8
extensions × 7
setup-upgrade × 7
cache × 6
php-7 × 6
file-permissions × 6
bin-magento × 6
css × 5
product-images × 5