Skip to main content

Posts

Showing posts from December, 2021

CakePHP bin cake: Permission denied terminal error

 CakePHP bin/cake: Permission denied error in terminal/cmd Sometimes when we try to run commands on our server or on linux system , terminal gives error like bin/cake: Permission denied and even if we logged in as a root user, still its gives error. To solve this error please run below command, that will give permission to bin/cake folder  chmod +x bin/cake The above command will work for CakePHP 3 and 4 , and if you are using old version then try to run below command chmod +x Console/cake After running above commands , CakePHP will allow to run commands through terminal Thank you