Here is a good tutorial of how to move to a shared host https://www.5balloons.info/hosting-laravel-5-5-project-on-shared-hosting-hostgator/
Hosting shows error msg http 500 error
Guys i have done a project in laravel
now i tried to host it in shared domain.
actually there is no seperate domain for this project. so my boss decided to host it in owr domain itself with a name demosoft
what i did is
i login into our cpanel
and i moved to public_html
there i created demosoft folder.
then i uploaded my laravel project inside this demosoft folder.
after that i did tow things
-
moved the files(index, httaccess,etc) from public folder to this demosoft.
-
opened the index file and change
require __DIR__.'/../../bootstrap/autoload.php';this to
require __DIR__.'/bootstrap/autoload.php';
now i tried to run,
but showing error http error 500
what to do how should i upload it
am i right in upload???
azasoft.in/demosoft this is the link to work
azasoft.in is our personal site. demosoft inside my project
how to do this??
The problem for this is php version only. i changed the php version from 5.4 to 7.2
it worked fine..
Please or to participate in this conversation.