When I wanted to deploy a couple of files to live server, I made php artisan down
and uploaded the files to the live server. On console when I wanted to make the site alive made php artisan up
but artisan is not responding. I tried other basic commands like php artisan list
but nothing is going on. I tried composer dump-autoload
. The commmand worked fine and I got "Generating autoload files" which worked fine I guess. But php artisan commands are still not working. I have googled it but nothing is similar to this situation. Because I have been using php artisan commands earlier but now suddenly not working.
I also tried composer update and I got this error about artisan:
Script php artisan clear-compiled handling the pre-update-cmd event returned with an error
Any help will be appreciated. Thanks