💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
程序下载地址: 链接: https://pan.baidu.com/s/1HNlzNgQByqdo_LunDCaFqQ 提取码: a6rc ## 服务器环境要求 * PHP最低版本为7.1.0 * 需要安装并开启php-imagick、fileinfo、opcache扩展 * 不需要数据库 * nginx,apache均可,开启rewrite伪静态 ``` #apache需要开启mod_rewrite模块,新建.htaccess文件,代码如下: <IfModule mod_rewrite.c> Options +FollowSymlinks -Multiviews RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L] </IfModule> #nginx 加入如下配置代码 if (!-e $request_filename) { rewrite ^/(.+) /index.php?/$1 last; } ``` * 为data目录开读写权限 ## 以宝塔面板安装为例 这里以CentOS8.0 ,宝塔Linux面板(稳定版)为例登录服务器执行下面命令 ~~~ yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh ~~~ 安装PHP7运行环境 ![](https://img.kancloud.cn/8a/90/8a90a21e5f2484e2963fb08d86a179c6_1213x660.png) 安装php-imagick、fileinfo、opcache扩展 ![](https://img.kancloud.cn/9f/8f/9f8fd6b8ef97736cfe8672cad0e331d1_918x588.png) 访问http://你的服务器网址/install.php ![](https://img.kancloud.cn/bb/64/bb64aa8ac944bd4860fb65b8047b697f_768x497.png)