我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

带有PostgreSQL 9.5的Laravel 5.4

Good Afternoon:

I am trying to connect Laravel 5.4 with PostgreSQL 9.5. When I try to apply php artisan migrate I have the follow error:

enter image description here

I modified the php.ini and uncomment the extensions pdo_pgsql and pgsql.

enter image description here

I changed .env and config/database.php

DB_CONNECTION=pgsql
DB_HOST=127.0.0.1
DB_PORT=5432

 'default' => env('DB_CONNECTION', 'pgsql'),

I don't know, what can I do for fix it.

Thanks.

I removed Mamp and updated Xampp to php5.6.30. I installed modules in php.ini and it work correctly now.

Thanks for your help apokryfos

近期文章

  • 验证数据,登录系统codeigniter
  • JSON字符串中的格式错误
  • 缓存已呈现的数据库查询页面
  • Javascript没有加载mysql数据phonegap
  • Mysqli到PDO绑定参数
  • 使用点分隔符将日期转换为另一种没有点的格式[重复]
  • 高级自定义字段wordpress自定义类
  • 如何仅使用字段组中的选定字段显示ACF前端表单?
  • 在购物车codeigniter中添加并显示列表产品
  • 每次乘法的SQL行
  • 尝试更新阵列时出现“间接修改重载属性无效”的错误
  • 从foreach循环内的数据库填充数组并稍后获取它
  • 添加从db获取的数字
  • 使用Cakephp 3复杂的JSON
  • AJAX失败错误,但表单正在运行
  • 如何从angularjs和ionic发送数据到php
  • 在php中显示varbinary图像sql server
  • 数据表 - 没有搜索或过滤功能
  • 数据不是通过PHP形式[重复]
  • 如何在Datatable服务器端处理中获取'start'查询字符串参数?

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华