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

ha77an's avatar

Laravel Pusher is not working on Shared hosting

so I build a chatting website using laravel and livewire. and I used laravel pusher for broadcast messages. it's working fine in localhost but not in shared hosting.

​broadcasting.php file

'pusher' => [
            'driver' => 'pusher',
            'key' => env('PUSHER_APP_KEY'),
            'secret' => env('PUSHER_APP_SECRET'),
            'app_id' => env('PUSHER_APP_ID'),
            'options' => [
                'cluster' => env('PUSHER_APP_CLUSTER'),
                'useTLS' => false,
                'encrypted' => false,
                'curl_options' => [
                    CURLOPT_SSL_VERIFYHOST => 0,
                    CURLOPT_SSL_VERIFYPEER => 0,
                ],
            ],
        ],
0 likes
1 reply
jlrdw's avatar

Have you put in a support ticket with the host to see what's going on. Have you set all the extensions you need.

Please or to participate in this conversation.