![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
php
andy.cao
这个作者很懒,什么都没留下…
展开
-
Laravel本地文件上传路径映射
使用本地方式进行上传,上传后访问不了。做下软链php artisan storage:link如果提示The "public/storage" directory already exists.那就先备份下public下的storage,然后再执行,执行完后再copy进去。文件设置'public' => [ 'driver' => 'local', 'root' => storage_path('app/public'),原创 2022-03-21 00:09:37 · 908 阅读 · 0 评论 -
laravel nginx解决访问php变下载
php7 laravel nginx配置1、可能会导致访问php变下载2、配置后不能访问配置如下:server { listen 81; server_name localhost; ssl off; root /xxxx/api/public; location / { index index.php index.html index.htm; try_f原创 2022-03-20 22:33:40 · 1361 阅读 · 0 评论 -
YUM PHP7.0和PHP2.2安装 PHP-FPM安装
php yum linux原创 2022-03-19 21:09:55 · 248 阅读 · 0 评论