Difference between revisions of "Hosted OpenEMR"

From OpenEMR Project Wiki
Line 9: Line 9:
:* Select your domain's document root. Make sure you are in your domain's public_html folder.
:* Select your domain's document root. Make sure you are in your domain's public_html folder.
[[File:Rootfolder.png|center]]
[[File:Rootfolder.png|center]]
:* Upload openemr folder with all sub directories in it. You can zip and then extract it from your File Manager.
:* Upload openemr folder with all sub directories in it. You can zip and then extract it from your File Manager. (Or place the openemr-4.x.x.tar.gz in this folder and extract for new installations)


:* Now the application has been hosted in www.yourdomain.com/openemr.
:* Now the application has been hosted in www.yourdomain.com/openemr.
 
::(In case you placed the Linux tar.gz file in this folder the folder will be named:  www.yourdomain.com/openemr-4.x.x after extraction. If needed you can rename this folder into openemr to be compatible with the next instructions)


==MySQL Creation==
==MySQL Creation==

Revision as of 19:26, 27 January 2015

Foreword

Installation of OpenEMR will require a number of distinct steps that often trip up the user in a hosted environment.

For a Linux based Server you can use the openemr-4.x.x.tar.gz file where a Webserver version of OpenEMR is mentioned.

OpenEMR Location

  • Open File Manager in cPanel.
  • Select your domain's document root. Make sure you are in your domain's public_html folder.
Rootfolder.png
  • Upload openemr folder with all sub directories in it. You can zip and then extract it from your File Manager. (Or place the openemr-4.x.x.tar.gz in this folder and extract for new installations)
  • Now the application has been hosted in www.yourdomain.com/openemr.
(In case you placed the Linux tar.gz file in this folder the folder will be named: www.yourdomain.com/openemr-4.x.x after extraction. If needed you can rename this folder into openemr to be compatible with the next instructions)

MySQL Creation

  • You have to set up your database. Go back to your cPanel -> select Database Wizard.
  • Database Creation Tutorial.
  • Pay close attention to Permissions.
  • Note down the credentials.
  • Be certain the collation of your tables matches that in the most current Demo. Guide for changing the collation. Mismatch of collations is a very common setup error.
Hostedutf8.png


OpenEMR Setup

  • Open the browser and navigate to www.yourdomain.com/openemr to start the installation.
  • There will a series of entries which are very different from a localhost installation.
  • In Step 1 select second option, "I have already created the database".
Hostedstep1.png


  • In Step 2 carefully complete the MySQL Server section.
  • The Server Host is not localhost, but the IP address of the server running MySQL.
  • Enter the Database Name, Login Name and Password from MySQL Creation above.
  • The User Hostname is not localhost, but the IP address of the server running Apache/PHP.
  • Incorrect entries will mean an installation failure.

Hs2.png


  • Complete the setup according to the Linux Installation Guide.




Article courtesy of Jeyasithar of the OpenEMR Forums.