💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
# 安装 ## Windows下安装 推荐采用phpStudy,创建站点,将程序解压到对应文件夹即可 ## linux下安装 采用宝塔面板,nginx配置参考如下: ``` ~~~shell server { listen 80; root /usr/share/nginx/www/mysite; index index.html index.htm index.php; server_name localhost; location / { # URL重写支持 try_files $uri $uri/ /index.php?s=$uri&$args; } # 开启PHP支持 location ~ \.php { fastcgi_split_path_info ^(.+\.php)(.*)$; fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_index index.php; fastcgi_param PATH_INFO $fastcgi_path_info; # 环境变量 fastcgi_param CT_DEV_MODE 'true'; # 加载Nginx默认"服务器环境变量"配置 fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } } ~~~ ```