I would say that one of these
- AWS
- Linode
- Digital Ocean
- Hetzner
Oh, and your host really should upgrade since 7.4 has reached end of life, and is no longer supported.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Good morning am new to laravel whats the best web hosting platfrom for laravel with php version 8.1 alread enanbled
i have an active accoount but the cpanel is running on php v 7.4 which is making my laravel project not to work
Please Help ASAP
I would say that one of these
Oh, and your host really should upgrade since 7.4 has reached end of life, and is no longer supported.
@Tray2 Thank you. Let me check the listed providers
@Innobas Also you can change the php version in cpanel if you want.
@jlrdw hi i have tried to change but im getting another error s currently unable to handle this request. HTTP ERROR 500
have tried most of the forums suggestions and i dont seem to find a solution
@Innobas 500 means that you have fucked up in your code. It usually point you to where you fucked up.
@Tray2 Hi agree have just checked the log file and this is what im getting H01276: Cannot serve directory /home/boazifin/public_html/: No matching DirectoryIndex
@Innobas Have you made any changes to the laravel files?
The document root should always be public, nothing else.
@Tray2 have not done any changes and its working alright on local machine so i have just uploaded the same code. so apparently the root directory is doing to public
the 500 error is only coming up when i enable php 8.1.0 on the domain. if i downgrade to 8.0 its show: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0".
@Innobas My guess is that you have this problem
https://www.liquidweb.com/kb/apache-error-no-matching-directoryindex-index-html-found-solved/
@Tray2 have just looked at the link..
does this meen need to contact the service provider cause i dont this i have access to httpd.config from my cpanel
@Innobas I never used cpanel so I don't know what settings you can make, but defining which index file you should use are to be one you can set.
@Tray2 Noted. let me try to see if the service proider can help
Personally I use hetzner or digital ocean along with ploi.io
Ploi sets up everything for me and let's me deploy by the click of a button. It also keeps the server up to date, and setting up queue and cron is really easy
@Innobas That is the problem with cloud hosting. Shared hosting is cheaper but not configurable enough.
@Innobas don't know about linode but hetzner stats at € 4.51. I think that's pretty cheap? I run my blog on that
@Tray2 oh yeah. am still research though. will share when i found something am confortable with
@Sinnbeck Will check it as well
I finally managed using the local service provider. I requested the isp to set my account as per the laravel requirements
Please or to participate in this conversation.