1. The config/swoole. PHP file

Change the port number. Each code must be unique

2. Root directory. Env file

The message queue uses this command: PHP think queue:listen –queue=default Note: each set of code needs this command to start the queue

3.config/app.php

Modify app_key. You can change it to any value. Each set of code cannot be repeated

After that, restart the Swoole service

If the above article is helpful to you, please give our open source project Diandian star: github.crmeb.net/u/defu!