Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Luka's avatar
Level 1

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?

0 likes
16 replies
jlrdw's avatar

Are you trying to use the command line.

Luka's avatar
Level 1

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.

JABirchall's avatar

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.

jlrdw's avatar

Did 5.8 work on host. And what host.

Luka's avatar
Level 1

Yes, 5.8 was working.

jlrdw's avatar

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.

extjac's avatar

I just installed in 1and1 share hosting and it worked. Installed with PHP 7.3

jlrdw's avatar

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.

Luka's avatar
Level 1

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's avatar
Level 1

You mean the Hosting company?

jlrdw's avatar

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.

mohammadHs's avatar

@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
1 like

Please or to participate in this conversation.