Hosting Open-EMR

It’s what we expected…so we’re back to the difficulty of “shared hosting” being problematic. Is there anything out there that we can host Open-EMR? We’re already paying for BLUEHOST. We have our MOODLE site hosted with no difficulties.

Replied to your email. LightSail cloud will be available in 2-3 weeks. It’s 5-10 dollars (USD) per month but not HIPAA friendly.

-m

I don’t have experience with that specific hosting provider. You can always try the install and post errors here and we can see how it goes

1 Like

see my postings under “persistent connections” posted herein.

$5 would be workable…please advise, not using for production so LightSail Cloud would work without HIPAA.

hi @barringer7777, re: Persistent Connectons

are you able to log in to your bluehost control panel and quoted from their website:

you can disable FastCGI for PHP on any of your subdirectories while leaving the rest of the account enabled for performance.

I’ll check again…and let you know, thanks

Hi, i’ve successfully installed an instance at my arvixe.com shared hosting plan using one of my 5 subdomains on my basic plan subscription. so far so good. care to give it a try?

Hi,

I had installed Openemr on shared hosting too and run without much problem. You can try https://www.hosting24.com/

Good luck!

Hi, @jhunyan have you made any provisions on defending against brute force attacks? a captcha, a login timeout system or something else?

bluehost is recommending to reload drivers and php…how can we do this?

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

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

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

Warning: session_regenerate_id(): Cannot regenerate session id - headers already sent in /home5/eteamusa/public_html/openemr/interface/main/main_screen.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /home5/eteamusa/public_html/openemr/vendor/adodb/adodb-php/drivers/adodb-mysqli.inc.php:123) in /home5/eteamusa/public_html/openemr/interface/main/main_screen.php on line 120

probably want to ask @bluehost

Hi @barringer7777,

Regarding Headers already sent by, We can check whether the headers is sent through the function headers_sent() function like the following,

  if(headers_sent()){
     //Do the work if the headers sent.
  } 
  else{
     //Do the work if the headers not sent.
  }

and for more information refer this link: http://php.net/manual/en/function.headers-sent.php.
You can see some common reasons for “headers already sent” warning message : https://stackoverflow.com/questions/8028957/how-to-fix-headers-already-sent-error-in-php/8028979#8028979

In run time through php script we can enable the persistent connection in mysqli through mysqli.allow_persistent variable. For more information about this refer the following link : http://php.net/manual/en/mysqli.configuration.php#ini.mysqli.allow-persistent.
But there is also some problems in creating the persistent connections. check here : https://meta.wikimedia.org/wiki/Why_persistent_connections_are_bad

Thanks,
ViSolve

My problem appears to be a php to db error:
$ADODB_FETCH_MODE = ADODB_FETCH_NUM;

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
preceding was on line 123

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

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

Rows 120 to Row 152

global $ADODB_FETCH_MODE;

	if ($this->fetchMode === false) {
		$savem = $ADODB_FETCH_MODE;
		$ADODB_FETCH_MODE = ADODB_FETCH_NUM;
	} else
		$savem = $this->SetFetchMode(ADODB_FETCH_NUM);

	if (0) {
		$stmt = $this->PrepareSP('sp_server_info');
		$val = 2;
		$this->Parameter($stmt,$val,'attribute_id');
		$row = $this->GetRow($stmt);
	}

	$row = $this->GetRow("execute sp_server_info 2");


	if ($this->fetchMode === false) {
		$ADODB_FETCH_MODE = $savem;
	} else
		$this->SetFetchMode($savem);

	$arr['description'] = $row[2];
	$arr['version'] = ADOConnection::_findvers($arr['description']);
	return $arr;
}

function IfNull( $field, $ifNull )
{
	return " ISNULL($field, $ifNull) "; // if MS SQL Server
}

function _insertid()
{

Hi @barringer7777 ,

Just reviewed this thread.

Several options since this is for education purposes.

An option here is to consider a very low cost option based on AWS Lightsail ($5 per month starting). It is currently in pre-Beta and plan to release the Beta option soon on AWS(with the production version then likely released several weeks later). But if you are interested in trying it out(and would be great for the project for to get more folks testing it out), it is working on our testing, and can see how to install it here(very simple install process that just takes a couple minutes):
https://github.com/openemr/openemr-devops/tree/master/stacks/single-server#openemr-cloud-express

Another thing to consider is we are starting to think about partnering with education/instruction courses to develop customized demos (with the goal of both supporting use in this situation and to compile a set of public instructions sets with companion demos), which is being discussed here:

-brady

Sounds like a good idea…what are the steps to see Open-EMR on AWS for us?

BTW: we are an Cyber-LMS educational source primarily directed to Vocational, Secondary and Post-Secondary students in the Health Care field.

1 Like