As for a large number of hosts, our shared folder is called public_html. This is shared hosting, so it cannot be changed. I changed the folder publicto public_htmlto reflect this, but when I do artisan serve, it stops working. Every time I try to run it, I get:
[ErrorException]
chdir(): No such file or directory (errno 2)
If I rename the folder back to the publication, it artisan servewill start working again.
I tried after this post on laracasts , and the user in the posts published in the journal works for them, but that didn't make any difference to me. How can I change the folder and work artisan serve?
source
share