Welcome Guest, Not a member yet? Register   Sign In
Message: mysqli::real_connect(): Persistent connections are disabled. Downgrading to
#1

Hi;

I get this on the server on line.
Quote:A PHP Error was encountered

Severity: Warning

Message: mysqli::real_connect(): Persistent connections are disabled. Downgrading to normal

Filename: mysqli/mysqli_driver.php

Line Number: 133

Backtrace:

File: /hsphere/local/home/behnam/webmoosh.com/breakup/index.php
Line: 292
Function: require_once

2 points though:
  1. On localhost works with no warning.
  2. I still see queries working fine and results showing (both local and on line).

What's could be the issue? Does it have anything to do with CI 3 still in development?

Cheers
Reply
#2

This depends on your providers mysql and apache configuration. It seams you can not work with an persistent connection. You have to set this in your database config.

'pconnect' => FALSE,

Reply
#3

(01-23-2015, 01:45 AM)Rufnex Wrote: This depends on your providers mysql and apache configuration. It seams you can not work with an persistent connection. You have to set this in your database config.

'pconnect' => FALSE,
AAh,
Thanks man that was easy :0
Reply




Theme © iAndrew 2016 - Forum software by © MyBB