Please pay attention to the installation.
- The framework uses
Composeras the dependency management tool. Before you start installing the framework, make sure you have configured the environment and installed the
Composertool as described in the previous section.
- For the installation of Composer, please refer to the [Composer China Full Mirror] (https://pkg.phpcomposer.com/#how-to-install-composer) installation tutorial.
- The currently recommended image is Alibaba Cloud or Source Station.
- During the installation process, the files of the framework will be released to the project directory, please ensure that the project directory has writeable permissions.
- After the installation is complete, the App directory will not be automatically generated. Please configure it according to the
- Do not use the virtual machine shared directory as the installation directory. Otherwise, the socket cannot be created because of insufficient permissions, and an error is reported:
listen xxxxxx.sock fail
- The shared directory generates the above error, manually change the Temp directory to another path in the dev.php configuration file.
Switch Ali cloud image
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/
Follow the steps below to manually install
composer require easyswoole/easyswoole=3.5.x php vendor/easyswoole/easyswoole/bin/easyswoole install
Or (may be wrong)
composer require easyswoole/easyswoole=3.5.x php vendor/bin/easyswoole install
php vendor/easyswoole/easyswoole/bin/easyswoole install ______ _____ _ | ____| / ____| | | | |__ __ _ ___ _ _ | (___ __ __ ___ ___ | | ___ | __| / _` | / __| | | | | \___ \ \ \ /\ / / / _ \ / _ \ | | / _ \ | |____ | (_| | \__ \ | |_| | ____) | \ V V / | (_) | | (_) | | | | __/ |______| \__,_| |___/ \__, | |_____/ \_/\_/ \___/ \___/ |_| \___| __/ | |___/ EasySwooleEvent.php has already existed. do you want to replace it? [ Y/N (default) ] : n index.php has already existed. do you want to replace it? [ Y/N (default) ] : n dev.php has already existed. do you want to replace it? [ Y/N (default) ] : n produce.php has already existed. do you want to replace it? [ Y/N (default) ] : n
- 在这里面需要填写n，不需要覆盖，已经有的 EasySwooleEvent.php，index.php dev.php produce.php
If there is no error in the middle, you can execute:
# Start frame php easyswoole server start
At this point you can visit
http://localhost:9501 to see the welcome page of the framework, indicating that the framework has been successfully installed.
Docker knowledge, please learn by yourself
QQ exchange group
- VIP group 579434607 (this group needs to pay 599 RMB)
- EasySwoole official group 633921431 (full)
- EasySwoole official two groups 709134628 (full)
- EasySwoole official three groups 932625047 (full)
- EasySwoole official four groups 779897753 (full)
- EasySwoole official five groups 853946743 (full)
- EasySwoole official six groups 524475224
- QQ 291323003
- EMAIL firstname.lastname@example.org
Donation Your donation is the greatest encouragement and support for the Swoole project development team. We will insist on development and maintenance. Your donation will be used to:
- Continuous and in-depth development
- Document and community construction and maintenance