centos 安装 swoole_framework 框架
2024-10-21 12:35:44
composer require "matyhtf/swoole_framework"
运行以上命令
Using version ^1.20 for matyhtf/swoole_framework
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 6 installs, 0 updates, 0 removals
- Installing psr/log (1.0.2): Downloading (100%)
The Process class relies on proc_open, which is not available on your PHP installation.
The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)
Unzip with unzip command failed, falling back to ZipArchive class
- Installing symfony/debug (v4.0.6): Downloading (100%)
The Process class relies on proc_open, which is not available on your PHP installation.
The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)
Unzip with unzip command failed, falling back to ZipArchive class
- Installing symfony/polyfill-mbstring (v1.7.0): Downloading (100%)
The Process class relies on proc_open, which is not available on your PHP installation.
The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)
Unzip with unzip command failed, falling back to ZipArchive class
- Installing symfony/console (v3.4.6): Downloading (100%)
The Process class relies on proc_open, which is not available on your PHP installation.
The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)
Unzip with unzip command failed, falling back to ZipArchive class
- Installing filp/whoops (2.1.14): Downloading (100%)
The Process class relies on proc_open, which is not available on your PHP installation.
The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)
Unzip with unzip command failed, falling back to ZipArchive class
- Installing matyhtf/swoole_framework (1.20.5): Downloading (100%)
The Process class relies on proc_open, which is not available on your PHP installation.
The archive may contain identical file names with different capitalization (which fails on case insensitive filesystems)
Unzip with unzip command failed, falling back to ZipArchive class
symfony/console suggests installing symfony/event-dispatcher ()
symfony/console suggests installing symfony/lock ()
symfony/console suggests installing symfony/process ()
filp/whoops suggests installing symfony/var-dumper (Pretty print complex values better with var-dumper available)
filp/whoops suggests installing whoops/soap (Formats errors as SOAP responses)
Writing lock file
Generating autoload files
ok 完成
查看:
[root@VM_27_0_centos swooletest]# ls
composer.json composer.lock http_server.php server.php timer_tick.php udp_server.php vendor ws_server.php
可以看到 vendor 文件夹 至于为什么不直接看到 swoole_framework 框架 可以查看有关composer文档
[root@VM_27_0_centos swooletest]# tree -L 3
.
|-- composer.json
|-- composer.lock
|-- http_server.php
|-- server.php
|-- timer_tick.php
|-- udp_server.php
|-- vendor
| |-- autoload.php
| |-- composer
| | |-- autoload_classmap.php
| | |-- autoload_files.php
| | |-- autoload_namespaces.php
| | |-- autoload_psr4.php
| | |-- autoload_real.php
| | |-- autoload_static.php
| | |-- ClassLoader.php
| | |-- installed.json
| | `-- LICENSE
| |-- filp
| | `-- whoops
| |-- matyhtf
| | `-- swoole_framework
| |-- psr
| | `-- log
| `-- symfony
| |-- console
| |-- debug
| `-- polyfill-mbstring
`-- ws_server.php
OK 有了 咱们把这个移动到访问目录,在这里说一下 大家也可以直接去git 上下载zip 包 解压https://github.com/matyhtf/framework
最新文章
- php 时间加减
- eclipse中对项目进行分类管理
- JSON 字符串 与 java 对象的转换
- Sublime Text 3使用技巧
- oracle_dblink配置
- Spring MVC Controller配置方式
- Java8 map和reduce
- [linux] linux知识积累(不断更新中…)
- 王立平-NGUI
- ABP文档 - 对象与对象之间的映射
- mustache.js 使用
- 关于servelt的相关介绍
- java mongodb连接配置实践——生产环境最优
- Mybatis(二) 全局配置文件详解
- java.util.HashSet, java.util.LinkedHashMap, java.util.IdentityHashMap 源码阅读 (JDK 1.8.0_111)
- [Android实例] Activity实例StartActivity出现NullPointer异常
- Vivado HLS初识---阅读《vivado design suite tutorial-high-level synthesis》(2)
- 关于Unity中的本地存储
- 在Foreda8中整合Apche httpd2.4.6和Tomcat7.0.42(使用tomcat-connectors-1.2.37)
- Eclipse中修改git地址、用户、密码