GIT可视化版本管理软件SourceTreeSetup
SourceTreeSetup
:
https://www.sourcetreeapp.com/
SourceTreeSetup
:
https://www.sourcetreeapp.com/
composer update
;
或者/usr/bin/composer self-update
;
命令。
【图1】
php.ini
配置文件,宝塔环境直接在后台找即可,把环境中禁用的pcntl_signal_dispatch
删除并保存。
【图2】
图1
中的校验,出现图2
提示说明正常使用workerman
环境了。fileinfo
扩展。pcntl_alar
、pcntl_wait
fileinfo
扩展。./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- topthink/think-worker v3.0.4 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
- topthink/think-worker v3.0.3 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
- topthink/think-worker v3.0.2 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
- topthink/think-worker v3.0.1 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
- topthink/think-worker v3.0.0 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
- Installation request for topthink/think-worker ^3.0 -> satisfiable by topthink/think-worker[v3.0.0, v3.0.1, v3.0.2, v3.0.3, v3.0.4].
To enable extensions, verify that they are enabled in your .ini files:
- /www/server/php/73/etc/php.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
Installation failed, reverting ./composer.json to its original content.
特别是网站根目录下面出现index.php
不太友好,下面修改办法:
Options +FollowSymlinks -Multiviews
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
\#RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
RewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1]
在windows
下用记事本在网站根目录下面新建保存为.htaccess
文件即可。