Unable to run OpenEMR shared environment. Can we run in normal mode without persistent con
We can able to run OpenEMR in shared environment . Can you please explain your issue with more detail?
receiving the following error just prior to login: "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
Can you check your php.ini file for the value of
allow_persistent = on, and restart webserver
That’s the problem…we were attempting to run OpenEMR without persistent connections. Our Host is a “shared” environment and will not allow persistent connections to operate. Is it possible to run OpenEMR without persistent connections?
ok, don’t think it will be a prob but might cause slow performance, persistent connections php.net
Performance is not an issue…we just need to get access…using for student training. Saw your article, I thought we had it covered. Still not gaining access. Any further thoughts?
yes, display errors should be off so this warning would be fine in a log but will interrupt openemr
And you’re suggesting what?
Sorry…just saw the file you recommended.
Will let you know.
It appears that the php.ini file is trying to affect the Server…which ignores “persistent connection” communications. What we need to do is change the OpenEMR application to prevent any request for “persistent connections”. Is there a file in OpenEMR that would affect this, either website or database?
Also…if necessary I can provide the phpinfo.php file with output.
hi @barringer7777, openemr runs without persistent connections, just confirmed on my test site, need to change webserver’s php.ini to not display errors
It’s not the display of errors…it’s that we are unable to get beyond the login page.
php.ini has display errors=off
hi @barringer7777, here’s a screenshot with display errors = on
can you confirm that you’re editing the correct php.ini and restarting the webserver? thanks
you can verify by checking the phpinfo.php file @ ehv-openemr.org/phpinfo.php
I’m editing the php.ini file in the root of the openemr directory