• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

Cannot connect to own websocket server when on secured domain

phplaravelwebsocketlaravel-websockets


PHP Snippet 1:

docker run --rm -v $(pwd):/app -w /app --env-file .env php:cli php index.php

PHP Snippet 2:

FROM php:cli
ENV LARAVEL_WEBSOCKETS_SSL_LOCAL_CERT=...
ENV LARAVEL_WEBSOCKETS_SSL_LOCAL_PK=...

Related Snippets

Using spatie/media-library, how to rename a collection of uploaded files?

How do I truncate a decimal in PHP?

(Cache::lock()) -> get() -- Under what conditions does it return false?

Transform array, set each array element with parent key php

Calculating Median of an array in PHP

Filter WooCommerce products with post__in and additional meta queries

Explain how this array transposing and flattening function works

php curl requesting twice

how to remove white space in select 2

Laravel relationship belongsToMany with composite primary keys

Add New Parameter to Existing URL using htaccess

*** ERROR *** The PHP configuration loaded file is: c:/wamp64/bin/php/php8.1.0/php.ini - should be: c:/wamp64/bin/apache/apache2.4.53.1/bin/php.ini

Create a new line whenever an array value reaches more than 10 characters

Invalid value in field "itemtype" in Google Search Console

Laravel Delete and Update

About Contact Privacy policy Terms and conditions