# Persistent Connectons

**URL:** <https://community.open-emr.org/t/persistent-connectons/8430>\
**Category:** Management and Administration\
**Created:** [April 25, 2017, 9:32pm UTC](https://community.open-emr.org/t/persistent-connectons/8430 "2017-04-25T21:32:46Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![barringer7777](https://community.open-emr.org/user_avatar/community.open-emr.org/barringer7777/32/10818_2.png) [@barringer7777](https://community.open-emr.org/u/barringer7777)\
**Post date:** [May 9, 2017, 8:27pm UTC](https://community.open-emr.org/t/persistent-connectons/8430/21 "2017-05-09T20:27:11Z")

</div>

exactly what I’m receiving…one line prior to login and then all that after login attempt

---

<div class="post-metadata">

**Author:** ![stephenwaite](https://community.open-emr.org/user_avatar/community.open-emr.org/stephenwaite/32/15754_2.png) [@stephenwaite](https://community.open-emr.org/u/stephenwaite)\
**Post date:** [May 9, 2017, 8:37pm UTC](https://community.open-emr.org/t/persistent-connectons/8430/22 "2017-05-09T20:37:37Z")

</div>

hi @barringer7777, php.ini is found in /etc/php/7.0/apache2/php.ini on my test system

sounds like your shared system is running in development mode, maybe they have a production webroot directory for you?

---

<div class="post-metadata">

**Author:** ![barringer7777](https://community.open-emr.org/user_avatar/community.open-emr.org/barringer7777/32/10818_2.png) [@barringer7777](https://community.open-emr.org/u/barringer7777)\
**Post date:** [May 10, 2017, 1:40pm UTC](https://community.open-emr.org/t/persistent-connectons/8430/23 "2017-05-10T13:40:04Z")

</div>

I have 6 websites (Wordpress & Moodle) running…all in production mode. there is only (1) php.ini & it’s in the root of OpenEMR. And that’s the one I affected. I have no “etc” folder. Why would that be?

---

<div class="post-metadata">

**Author:** ![stephenwaite](https://community.open-emr.org/user_avatar/community.open-emr.org/stephenwaite/32/15754_2.png) [@stephenwaite](https://community.open-emr.org/u/stephenwaite)\
**Post date:** [May 10, 2017, 2:00pm UTC](https://community.open-emr.org/t/persistent-connectons/8430/24 "2017-05-10T14:00:45Z")

</div>

hi @barringer7777, what type of system are you running? i.e. gnu/linux, windows

---

<div class="post-metadata">

**Author:** ![barringer7777](https://community.open-emr.org/user_avatar/community.open-emr.org/barringer7777/32/10818_2.png) [@barringer7777](https://community.open-emr.org/u/barringer7777)\
**Post date:** [May 28, 2017, 9:11pm UTC](https://community.open-emr.org/t/persistent-connectons/8430/25 "2017-05-28T21:11:44Z")

</div>

Linux

---

<div class="post-metadata">

**Author:** ![stephenwaite](https://community.open-emr.org/user_avatar/community.open-emr.org/stephenwaite/32/15754_2.png) [@stephenwaite](https://community.open-emr.org/u/stephenwaite)\
**Post date:** [May 31, 2017, 1:33pm UTC](https://community.open-emr.org/t/persistent-connectons/8430/26 "2017-05-31T13:33:08Z")

</div>

hi @barringer7777, let’s try to debug it a little more by putting this  
`echo "display_errors = " . ini_get('display_errors') . "</br>";`  
at the top of the login page  
`openemr/interface/login/login.php`  
just after the php opening tag \<?

---

<div class="post-metadata">

**Author:** ![barringer7777](https://community.open-emr.org/user_avatar/community.open-emr.org/barringer7777/32/10818_2.png) [@barringer7777](https://community.open-emr.org/u/barringer7777)\
**Post date:** [June 12, 2017, 3:39pm UTC](https://community.open-emr.org/t/persistent-connectons/8430/27 "2017-06-12T15:39:00Z")

</div>

> [@stephenwaite](#):
>
> echo "display\_errors = " . ini\_get(‘display\_errors’) . “\</br\>”;

This is what we received:  
Warning: mysqli\_real\_connect(): Persistent connections are disabled. Downgrading to normal in /home5/eteamusa/public\_html/openemr/vendor/adodb/adodb-php/drivers/adodb-mysqli.inc.php on line 123  
display\_errors = 1

BTW: Lou Galterio sends his regards (Coast Guard RFP)

---

<div class="post-metadata">

**Author:** ![stephenwaite](https://community.open-emr.org/user_avatar/community.open-emr.org/stephenwaite/32/15754_2.png) [@stephenwaite](https://community.open-emr.org/u/stephenwaite)\
**Post date:** [June 12, 2017, 4:02pm UTC](https://community.open-emr.org/t/persistent-connectons/8430/28 "2017-06-12T16:02:47Z")

</div>

Hi @barringer7777, so somehow display\_errors is turned on. Found this [thread](https://stackoverflow.com/questions/44463884/php-fpm-7-1-6-doesnt-turn-on-display-errors)

Might have a bad php install…

---

<div class="post-metadata">

**Author:** ![barringer7777](https://community.open-emr.org/user_avatar/community.open-emr.org/barringer7777/32/10818_2.png) [@barringer7777](https://community.open-emr.org/u/barringer7777)\
**Post date:** [June 12, 2017, 4:28pm UTC](https://community.open-emr.org/t/persistent-connectons/8430/29 "2017-06-12T16:28:23Z")

</div>

and how would we determine this…this is a “shared host” (BlueHost)?

---

<div class="post-metadata">

**Author:** ![stephenwaite](https://community.open-emr.org/user_avatar/community.open-emr.org/stephenwaite/32/15754_2.png) [@stephenwaite](https://community.open-emr.org/u/stephenwaite)\
**Post date:** [June 12, 2017, 4:59pm UTC](https://community.open-emr.org/t/persistent-connectons/8430/30 "2017-06-12T16:59:01Z")

</div>

probably best to contact them @barringer7777

---

<div class="post-metadata">

**Author:** ![barringer7777](https://community.open-emr.org/user_avatar/community.open-emr.org/barringer7777/32/10818_2.png) [@barringer7777](https://community.open-emr.org/u/barringer7777)\
**Post date:** [June 13, 2017, 5:56pm UTC](https://community.open-emr.org/t/persistent-connectons/8430/31 "2017-06-13T17:56:47Z")

</div>

Changed out multiple (php) version and still same error…appears not to be a php issue

---

<div class="post-metadata">

**Author:** ![stephenwaite](https://community.open-emr.org/user_avatar/community.open-emr.org/stephenwaite/32/15754_2.png) [@stephenwaite](https://community.open-emr.org/u/stephenwaite)\
**Post date:** [June 13, 2017, 7:09pm UTC](https://community.open-emr.org/t/persistent-connectons/8430/32 "2017-06-13T19:09:23Z")

</div>

found this on [bluehost site](https://my.bluehost.com/cgi/help/406#enable)

> Note: Once you enable fastcgi, your site will only use Bluehost’s php.ini settings. If you have a custom php.ini file, it will not be used.

---

<div class="post-metadata">

**Author:** ![barringer7777](https://community.open-emr.org/user_avatar/community.open-emr.org/barringer7777/32/10818_2.png) [@barringer7777](https://community.open-emr.org/u/barringer7777)\
**Post date:** [June 13, 2017, 7:16pm UTC](https://community.open-emr.org/t/persistent-connectons/8430/33 "2017-06-13T19:16:38Z")

</div>

and this means ???

---

<div class="post-metadata">

**Author:** ![stephenwaite](https://community.open-emr.org/user_avatar/community.open-emr.org/stephenwaite/32/15754_2.png) [@stephenwaite](https://community.open-emr.org/u/stephenwaite)\
**Post date:** [June 13, 2017, 9:23pm UTC](https://community.open-emr.org/t/persistent-connectons/8430/34 "2017-06-13T21:23:24Z")

</div>

you’re using bluehost’s php.ini but if you [disable fastcgi](https://my.bluehost.com/cgi/help/406#enable) your php.ini in the openemr directory will hopefully be considered

---

<div class="post-metadata">

**Author:** ![barringer7777](https://community.open-emr.org/user_avatar/community.open-emr.org/barringer7777/32/10818_2.png) [@barringer7777](https://community.open-emr.org/u/barringer7777)\
**Post date:** [June 22, 2017, 8:41pm UTC](https://community.open-emr.org/t/persistent-connectons/8430/35 "2017-06-22T20:41:28Z")

</div>

![](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/b/ba245d1e96292f2b0708de1212755ea7b76cc1a3.png)

We are not using fastcgi…see attached for PHP 7.0 only

---

<div class="post-metadata">

**Author:** ![stephenwaite](https://community.open-emr.org/user_avatar/community.open-emr.org/stephenwaite/32/15754_2.png) [@stephenwaite](https://community.open-emr.org/u/stephenwaite)\
**Post date:** [June 23, 2017, 1:17am UTC](https://community.open-emr.org/t/persistent-connectons/8430/36 "2017-06-23T01:17:50Z")

</div>

but here

> [@barringer7777](#):
>
> [ehv-openemr.org/phpinfo.php](http://ehv-openemr.org/phpinfo.php)

ServerAPI = CGI/FastCGI

---

<div class="post-metadata">

**Author:** ![barringer7777](https://community.open-emr.org/user_avatar/community.open-emr.org/barringer7777/32/10818_2.png) [@barringer7777](https://community.open-emr.org/u/barringer7777)\
**Post date:** [July 11, 2017, 7:53pm UTC](https://community.open-emr.org/t/persistent-connectons/8430/37 "2017-07-11T19:53:33Z")

</div>

Please explain your last reference to fastCGI

---

<div class="post-metadata">

**Author:** ![stephenwaite](https://community.open-emr.org/user_avatar/community.open-emr.org/stephenwaite/32/15754_2.png) [@stephenwaite](https://community.open-emr.org/u/stephenwaite)\
**Post date:** [July 12, 2017, 10:09am UTC](https://community.open-emr.org/t/persistent-connectons/8430/38 "2017-07-12T10:09:46Z")

</div>

![](https://discourse-uploads-openemr.s3.dualstack.us-east-1.amazonaws.com/original/2X/8/88b08818b832da85bcee3dde1d1d48788dd35e5a.png)

on the Server API line

---

<div class="post-metadata">

**Author:** ![barringer7777](https://community.open-emr.org/user_avatar/community.open-emr.org/barringer7777/32/10818_2.png) [@barringer7777](https://community.open-emr.org/u/barringer7777)\
**Post date:** [July 13, 2017, 4:09pm UTC](https://community.open-emr.org/t/persistent-connectons/8430/39 "2017-07-13T16:09:30Z")

</div>

Double Checked with ISP…and they assure us that we are using the beta that does not have the “fastCGI”.

---

<div class="post-metadata">

**Author:** ![barringer7777](https://community.open-emr.org/user_avatar/community.open-emr.org/barringer7777/32/10818_2.png) [@barringer7777](https://community.open-emr.org/u/barringer7777)\
**Post date:** [August 9, 2017, 6:35pm UTC](https://community.open-emr.org/t/persistent-connectons/8430/40 "2017-08-09T18:35:31Z")

</div>

Any further recommendations to drive past login screen?

[Previous page](https://community.open-emr.org/t/persistent-connectons/8430.md?page=1)

[Next page](https://community.open-emr.org/t/persistent-connectons/8430.md?page=3)
