Are you trying to use the command line.
Laravel 6 on Shared Hosting not working
I have installed Laravel 6 all day long and just moved it onto a Shared Hosting Server. Unfortunately I get the error "The Process class relies on proc_open, which is not available on your PHP installation." It is actually disabled and Customer support did tell me that this can not be changed for security reasons.
Is there any way to get around it or does it mean I can not use Laravel 6 on Shared Hosting?
No, I have installed everything locally and then uploaded all the files to the shared hosting, but when I open the Website I get that error shown.
I think its because of laravel 6's new AWS serverless capabilities.
Frameworks are really not ment to be ran on shared hosting because of the restrictions they put in place.
Did 5.8 work on host. And what host.
Yes, 5.8 was working.
Yeah I have a 5.8 on a shared host I haven't tried 6.0.
But if you are on a free account you may need to switch to a paid account to get added features, many times a free account is stripped way down.
Seems 6.0 should also work, if suddenly laravel stops working on too many shared host I would imagine some of the interest in laravel for smaller sites may go down, but that's just my opinion.
I mean where some people just want a small site or a hobby site and don't need a humongous set up like AWS.
Again just my opinion.
But I have also developed in cakephp, yii, and a custom framework I have updated overtime to keep up with PHP new editions.
I just installed in 1and1 share hosting and it worked. Installed with PHP 7.3
This is not a new thing (this SO post is 2 years old)
or 4 years ago
I agree, you aren't going to get all the bells and whistle's on shared host.
However for a basic intranet setup for some bookkeepers I did, (crud) all has worked fine in 5.8.
I would expect 6.0 to at least do the same "working" stuff on the same shared host. Just haven't tried 6.0 on shared yet, may try later over the weekend.
I don't use jobs, notifications, I do not need npm installed, I know how to deal with css.
OP never mentioned what shared host.
5.6 worked fine. 5.7 and 5.8 came up with a very strange issue that it would send Mailables, but not the "resend Verification" Notification. The "Forgot Password" Notification works as well. When I change the Mail settings to use maitrap, then the Resend Verification would be send. I am trying to find a solution for this since 4 month, but no luck so today I tried to install Laravel 6 to see if that would work, but now got that issue. I tried it before with a fresh install of 5.7 and then the notification was send, but why it would work with maitrap but not with the Mailserver settings from the Hosting company? I really don't understand it.
@luka what is the host?
You mean the Hosting company?
I had a chance to upload a Laravel 6.0 project to Godaddy shared, works fine. Remember though, I mainly just use crud features, not notifications, etc.
And yes I meant what hosting company.
But I suspect your host just has features they won't enable, you probably need a new host.
Change your PHP Version to 7.x to 7.3 Laravel 6 needs >=7.2 See in their docs: https://laravel.com/docs/6.x#server-requirements
@luka It is because of Flare error reporting service enabled in debug mode There is a workaround for this.
Publish flare config file php artisan vendor:publish --tag=flare-config
and in config/flare.php
Set
'collect_git_information' => false
its 2 months old...
Please or to participate in this conversation.