![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
网站搭建
江枫。
只要提升实力,所有有压力不再是压力
展开
-
liunx-防火墙命令(centos+ubuntu)
一、iptables防火墙1、基本操作查看防火墙状态service iptables status 停止防火墙service iptables stop 启动防火墙service iptables start 重启防火墙service iptables restart 永久关闭防火墙chkconfig iptables off 永久关闭后重启chkconfig iptables on 2、开启80端口vim /etc/sysconfig/iptables原创 2020-12-06 20:03:17 · 220 阅读 · 0 评论 -
Illuminate\Database\QueryException : SQLSTATE[42000]: Syntax error or access violation: 1071 Speci
问题:D:\wamp64\www\test\wxsq>php artisan admin:installMigration table created successfully.Migrating: 2014_10_12_000000_create_users_table Illuminate\Database\QueryException : SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key w原创 2020-08-10 21:46:47 · 865 阅读 · 0 评论 -
Laravel [1045] 解决方法 Access denied for user ‘homestead‘@‘localhost‘
Laravel [1045] 解决方法 Access denied for user ‘homestead’@‘localhost’这几天学习Laravel框架遇到了数据库方面的问题。PDOException in Connector.php line 55:SQLSTATE[HY000] [1045]Access denied for user ‘homestead’@‘localhost’ (using password: YES)出现问题解决方法如下1.确认database.php文件配原创 2020-08-10 18:17:06 · 339 阅读 · 0 评论 -
laravel的composer require报错:Installation failed, reverting ./composer.json to its original content.
用composer给laravel框架安装组件包时出现以下问题问题的部分截图解决办法1、关于composer.lock使用composer安装php组件时候你会发现创建了一个composer.lock文件,这是做什么的呢?composer.lock是记录当前所有安装的php组件的版本,如果多人协作开发需保持下载的php组件的版本一样减少不必要的麻烦,那么需要把composer.lock加入版本控制当中,比如使用git或者svn那么你就需要把它加入把版本控制当中。反之则不用。需要注意的是,当com原创 2020-08-10 11:32:14 · 636 阅读 · 0 评论 -
解决laravel6 配置路由时除 “/”路由 以外 ,所有路由访问不到的情况
安装了laravel 6,自定义配置路由之后,无法访问解决办法:方法一:原来我以为http://localhost/laravel/public/home 这样访问。现在才知道是http://localhost/laravel/public/index.php/home 这样访问 。方法二(有安装宝塔)方法三(自己测试但没效果)解决laravel 配置路由时,除/意外 全部都访问不到的情况 在nginx配种location / { try_files $uri $uri/原创 2020-08-09 21:40:15 · 1132 阅读 · 2 评论 -
require(): open_basedir restriction in effect. 解决方法
require(): open_basedir restriction in effect. 解决方法laravel访问时遇到的问题:Warning: require(): open_basedir restriction in effect.File(/www/***/wxsq/vendor/autoload.php) is notwithin the allowed path(s):(/www/***/wxsq/public/:/tmp/:/proc/) in/www/***/wxsq/p原创 2020-08-09 20:27:59 · 1379 阅读 · 0 评论