How can I use Laravel on Deluxe Linux Web Hosting?
The hosting use PHP 5.4 and the latest version of Laravel need at least 5.6.4. Is there any way to make it work, or I should change the hosting provider?
Hi @tuzfold, thanks for posting.
This would depend on what hosting plan you were currently using. If you are using a cPanel hosting, it supports up to PHP 5.6 (5.6.21). You can change your PHP version using the steps in this article:
Other Web Hosting plans do not support that version of PHP.
You may need some changes to the files and the hosting, from what I experienced:
- Giving that you are in windows hosting you need to move the web.config file from the public directory to the root directory of your project.
- Laravel required certain PHP version so make sure that your hosting has the right version of PHP.