使用php easydamin
1~4步必須都要做
1. git 拉下easyadmin代碼
2. 將代碼直接FTP傳到域名文件目錄下
3. 修改vhost下的xxx.conf根本目錄為public 不然會出現403 forbiden

4. install composer 不做訪問域名,會出現錯誤 This page isn't workingeamcan.cn is currently unable to handle this request. HTTP ERROR 500
#install composer
[root@izbpot8z bin]# curl -sS https://getcomposer.org/installer | php
All settings correct for using Composer
Downloading...
#move file
Composer (version 2.5.7) successfully installed to: /usr/bin/composer.phar
Use it: php composer.phar
[root@izbpot8z bin]# mv composer.phar /usr/bin/composer
#switch in project directory
tq0ocsm6oot8z xxxxxx]# composer install
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]? y
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Package operations: 40 installs, 0 updates, 0 removals
- Downloading mtdowling/jmespath.php (2.4.0)
- Installing topthink/framework (v6.0.8): Extracting archive
- Installing topthink/think-captcha (v3.0.2): Extracting archive
- Installing topthink/think-multi-app (v1.0.11): Extracting archive
- Installing topthink/think-template (v2.0.7): Extracting archive
- Installing topthink/think-view (v1.0.13): Extracting archive
- Installing doctrine/annotations (1.13.2): Extracting archive
- Installing zhongshaofa/easy-admin (v1.0.2): Extracting archive
- Installing zhongshaofa/thinkphp-log-trace (v1.0.1): Extracting archive
Generating autoload files
> @php think service:discover
Succeed!

浙公網安備 33010602011771號