laravel部署到宝塔上报500错误
PHP Fileinfo extension must be installed/enabled to use Intervention Image.
必须安装扩展 fileInfo
切记。
安装扩展 opcache
切记。php_fileinfo, php_mbstring, php_openssl,
删除被禁用的proc_open
函数。
备份设置:'dump_binary_path' => '/usr/bin/', //BT宝塔
'dump_binary_path' => 'D:\phpstudyV81\Extensions\MySQL5.7.26\bin', //win
权限目录:chmod -R 777 bootstrap/
chmod -R 777 storage/
chmod -R 777 public/
Linux:whereis mysql
查询mysql
路径。
参考:https://www.jianshu.com/p/c692761bbd0d