0

I just hosted my new Laravel website on an Amazon EC2 instance using Laravel Forge. I happen to have a register form on my website but upon submission it it saves the records in my database and displays a 500 server error. I use PHP version 7.3 and MySQL version 5.7 and Laravel version 5.8

jsageryd
  • 4,234
  • 21
  • 34
daqustae
  • 9
  • 6
  • https://stackoverflow.com/questions/43833932/laravel-passport-500-internal-server-error-on-ec2 maybe permission for storage – Ahmed Aboud Apr 27 '19 at 10:22
  • how do i sort out the storage permission issues and where do i sort it out – daqustae Apr 27 '19 at 10:25
  • https://medium.com/devopslinks/deploying-and-scaling-a-laravel-app-on-aws-1349dcd7d17a – Ahmed Aboud Apr 27 '19 at 10:29
  • i would make it 775 for the folders – Ahmed Aboud Apr 27 '19 at 10:33
  • where do i do that? I dont know what file to make the changes or how to get there – daqustae Apr 27 '19 at 10:35
  • sorry to ask but are you the owner of the site or a developer ? – Ahmed Aboud Apr 27 '19 at 10:37
  • I am both the owner and the developer but its my first time with laravel and forge and aws ec2 – daqustae Apr 27 '19 at 10:41
  • you should read more on laravel and forge i think forge give you shh access that you can run commands on your server – Ahmed Aboud Apr 27 '19 at 10:43
  • i have already ssh into my server, all i need to know is what to do on it – daqustae Apr 27 '19 at 10:45
  • https://stackoverflow.com/questions/30639174/how-to-set-up-file-permissions-for-laravel-5-and-others take a read – Ahmed Aboud Apr 27 '19 at 10:46
  • I still have this issue – daqustae Apr 28 '19 at 07:05
  • this is what i have in my logs – daqustae Apr 28 '19 at 08:28
  • #76 /home/forge/onenaira.com.ng/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(116): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #77 /home/forge/onenaira.com.ng/public/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #78 {main} "} – daqustae Apr 28 '19 at 08:29
  • what the error says ? in the log – Ahmed Aboud Apr 28 '19 at 09:02
  • #76 /home/forge/onenaira.com.ng/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(116): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request)) #77 /home/forge/onenaira.com.ng/public/index.php(55): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request)) #78 {main} "} – daqustae Apr 28 '19 at 10:48
  • https://stackoverflow.com/questions/54449639/how-to-debug-laravel-site-show-http-error-500 he had same issue – Ahmed Aboud Apr 28 '19 at 12:14

0 Answers0