![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
PHP
猫清
这个作者很懒,什么都没留下…
展开
-
laravel 文件上传注意问题 "enctype="mutilpart/form-data",必须要写上。
表单: <!-- exercise request --> <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, use...原创 2019-11-24 14:44:25 · 540 阅读 · 0 评论 -
laravel5.8 Expected response code 250 but got code "501", with message "501 mail from address must b
laravel5.8 使用自带的auth验证忘记密码发送邮件时出现以下问题: Expected response code 250 but got code "501", with message "501 mail from address must be same as authorization user " 解决方法: 修改,env里面的配置: MAIL_DRIVER=s...原创 2019-11-06 22:32:26 · 2823 阅读 · 0 评论 -
homestead添加站点注意事项
homestead添加站点,一定要注意在最后运行“vagrant provision"; 配置站点 在终端运行:sudo vim ~/homestead/homestead.yaml sites: - map: wiki.local #维基 to: /home/vagrant/code/deepwiki wiki.local是将来浏览器中访问的地址 /home/vagran...原创 2019-10-21 23:13:03 · 293 阅读 · 0 评论 -
MAC Laravel 5.8安装,及 storage/logs could not be opened:failed to open stream: Permission denied 解决:
安装 Laravel Laravel 使用Composer来管理项目依赖。因此,在使用 Laravel 之前,请确保你的机器已经安装了 Composer。 通过 Laravel 安装器 首先,通过使用 Composer 安装 Laravel 安装器: composer global require laravel/installer 如下图: 确保将 composer's ...原创 2019-06-27 22:50:01 · 4764 阅读 · 0 评论 -
Content-Length mismatch, received 26867 bytes out of the expected 安装composer require doctrine/dbal
提前是安装完composer,然后使用composer require doctrine/dbal 安装doctrine/dbal但是偶尔会报以下类似的错误Content-Length mismatch, received 253135 bytes out of the expected 2196446 http://repo.packagist.org could not be f...原创 2019-07-22 10:46:11 · 4147 阅读 · 0 评论 -
php artisan event:generate 生成在指定的文件夹中app\events\和app\listeners\,注意事项
<?php namespace App\Providers; use Illuminate\Support\Facades\Event; use Illuminate\Auth\Events\Registered; use Illuminate\Auth\Listeners\SendEmailVerificationNotification; use Illuminate\Foundat...原创 2019-08-09 21:45:14 · 1498 阅读 · 0 评论 -
Mac+ phpstorm 安装xdebug流程注意问题
第一步:进入“https://xdebug.org/wizard.php”,测试你的环境应该下载什么版本的xdebug 进入网址后复制粘贴。phpinf()内的所有内容: 粘贴后,点击analyse my phpinfo()output 其中第4步注意,要把整体复制到你的php文件目录中,我的是在“/usr/local/Cellar/xdebug-2.7.2” 在此文件...原创 2019-08-16 20:18:10 · 220 阅读 · 0 评论