Answer the question
In order to leave comments, you need to log in
How to run php artisan on hosting?
I have uploaded all the laravel files to the hosting, connected to the database and now I need to run the php artisan migrate command.
The hosting has an SSH terminal and composer.
How to run php artisan commands?
Answer the question
In order to leave comments, you need to log in
for me it looks like this...
/opt/php73/bin/php composer.phar install - install packages
/opt/php73/bin/php artisan
i.e. you need the path to the php interpreter.
I found out in the hosting TP ... because the versions vary.
You just need to run this command over ssh. Exactly the same as locally.
What motivated you when you put "medium" difficulty on a primitive question?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question