Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

AbdulBazith's avatar

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

  1. moved the files(index, httaccess,etc) from public folder to this demosoft.

  2. 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??

0 likes
3 replies
AbdulBazith's avatar
AbdulBazith
OP
Best Answer
Level 5

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.