Postingan lainnya
error 500 Upload Laravel 5 ke Shared Hosting(cpanel)

Ask: Saya sudah buat project pakai laravel, dan dicoba di local itu aman... tapi pas saya coba upload ke cpanel, langsung dapat error seperti di gambar... nah itu error-nya kenapa dan cara mbenerinnya gimana yah...?
Terima Kasih...
7 Jawaban:
Coba cek versi phpnya, ganti ke versi yang paling baru. Atau cek permission dari folder dan file. Atau pastikan susunan uploadnya kayak gini: - Isi folder public masukkan di dalam folder public_html atau www. - folder atau file yang lain taruh di luar folder public_html atau www. Taruh di server root.
versi php yang di cek itu yang di project atau di local atau di cpanel-nya bang...?
Jawaban Terpilih
 ini di cpanel saya nggak ada Php Version Selector itu terus gmn cara cek nya yah...?
Coba cari di menu setting atau apa gitu, di setiap cpanel pasti ada.
 hmm versinya terlalu rendah ternyata...
<div>The reason is most likely wrong directory. I got this error as well when I was trying to install Laravel on Cloudways server (<a href="https://www.cloudways.com/en/laravel-hosting.php">https://www.cloudways.com/en/laravel-hosting.php</a> ). I got this error and contacted their support. They told me that I was supposed to install it in public_html directory. I had installed it in private directory :D</div>