Город МОСКОВСКИЙ
00:39:43

Add Swoole module to PHP in Docker - Beachcasts LIVE!

Аватар
PHP С нуля
Просмотры:
0
Дата загрузки:
30.11.2023 01:46
Длительность:
00:39:43
Категория:
Технологии и интернет

Описание

In this LIVE stream I install the Swoole module for PHP inside a Docker container using Docker Compose.

Please * LIKE, COMMENT, AND SUBSCRIBE * - and share with others!

Errata: This was a live stream, so there are bound to be mistakes and/or omissions. Please let me know, in the comments, if you find any. Timestamps are also good.
I did a stream the following day to share some updates: https://www.twitch.tv/videos/492337172

Related Links:
https://www.swoole.co.uk/

Timeline
00:08 I start talking
01:30 Show the Swoole website
04:47 Highlights from docker-compose.yml file
05:54 Highlights from Dockerfile
08:22 Create a new project in PhpStorm from existing files
09:48 Add Run Configuration to PhpStorm to run Docker Compose
18:29 Issue command to exec a bash shell inside the new Docker container
19:07 Issue pecl command to install swoole inside container
26:23 Add a swoole.ini file to be used in PHP to enable the Swoole module
33:15 Destroy Docker container and update the Dockerfile to install Swoole automated
49:53 Create a server.php file with code from the Swoole site
51:26 Execute the server.php file to create a Swoole server instance

Рекомендуемые видео