💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
如果使用的是 Apache 服务器,需要在配置文件`Http.conf` 中开启 ``` LoadModule rewritemodule modules/mod_rewrite.so ``` 并且 laravel 对 php 版本有所要求,因为laravel使用了很多php的新特性,建议使用php7,现在还有什么理由不使用php7呢?需要开启如下的php扩展: - OpenSSL PHP Extension - PDO PHP Extension - Mbstring PHP Extension - Tokenizer PHP Extension - XML PHP Extension 还要把 `storage` 和 `vendor` 目录权限配置为 `777`, 安装完 Laravel 后,需要配置一些目录的读写权限:storage 和 bootstrap/cache 目录应该是可写的。 另外需在 `config/app.php` 中修改对应的配置信息: ``` 'timezone'=>'PRC', //时区 'locale' => 'zh-CN', //当地语言 .env文件配置成自己的信息 ``` [laravel 手册](https://laravel.com/docs/5.5#installation)