Difference between revisions of "OpenEMR 4.0 Windows Installation"

From OpenEMR Project Wiki
(Created page with 'This is a one-click installation of OpenEMR with the XAMPP(php, mysql, and apache) package for Windows operating systems. Quick Installation: -Download package here: OpenEMR-XAM…')
 
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This is a one-click installation of OpenEMR with the XAMPP(php, mysql, and apache) package for Windows operating systems.
= Required Software Installation =


Quick Installation:
First install and configure MySQL, Apache (or another PHP-capable webserver), and PHP5.  Many windows users have had success with the XAMPP package, which includes MySQL, Apache, and PHP.  XAMPP can be downloaded from: http://www.apachefriends.org/en/xampp-windows.html
-Download package here: OpenEMR-XAMPP-4.0.0.exe (MD5 sum: PENDING RELEASE)
(<b>use [http://tenet.dl.sourceforge.net/project/xampp/XAMPP%20Windows/1.7.3/xampp-win32-1.7.3.exe XAMPP version 1.7.3] or less; OpenEMR is not compatible with 1.7.4.</b>)
-Double-click the downloaded file
IMPORTANT - If installing on Windows Vista, Windows Server 2008, or Windows 7; you must right-click on the downloaded file and select "Run as Administrator".
-Login as user:admin and pass:pass


More details:
:'''(Ensure PHP is configured with [[FAQ#What_are_the_correct_PHP_settings_.28can_be_found_in_the_php.ini_file.29_.3F|these settings]])'''
-Both OpenEMR and XAMPP can not be previously installed. (remove c:\xampp folder if it's there before installing this package.)
-The package will install to c:\xampp (this can not be configured)
-Http ports (443, 80) in the firewall will be opened during setup to allow other computers to use this as a server.
-Mysql and Apache will be installed as services.


Support: http://sourceforge.net/projects/openemr/forums
:''('''If not using the XAMPP package''', then ensure when configuring MySQL for OpenEMR, STRICT_MODE must be disabled.  This can be done using the MySQL Server Instance Configuration wizard or in the my.cnf file.  You can check the setting in an existing MySQL instance by executing '''SHOW VARIABLES;''' in the MySQL Command Line Client and checking the value of SQL_MODE.  For more details see: http://dev.mysql.com/doc/refman/5.0/en/server-sql-mode.html)''


Author of this OpenEMR Installer Package:
= Installing OpenEMR =
Chris Lucena
 
EHRLive
== Downloading the package ==
support@ehrlive.com
'''1.''' Download OpenEMR from sourceforge:
http://www.EHRLive.com
:http://downloads.sourceforge.net/openemr/openemr-4.0.0.zip <small>(MD5 sum: 76fa79445bb9b967caf80ac307c00cfe)</small>
 
'''2.''' Extract the downloaded OpenEMR archive, change the name of the directory openemr-4.0.0 to just openemr, and then move this directory to your webserver root directory.  Refer to your webserver documentation to obtain your webserver root directory.  For example, if your using XAMPP, then the webserver root directory is in the \xampp\htdocs directory.
 
 
== Configuring the Install through the WEB GUI ==
 
'''1.''' Open up web-browser and point it to the installation script at http://localhost/openemr/setup.php .
:The first screen gives some general instructions and ensures file and directory permissions are set up correctly. It should tell you all your file system permissions are good, and have a 'Continue' button on the bottom of the form. If it does, Click the 'Continue' button. Otherwise, If there are errors on this screen, then follow instructions to fix. (screenshot below)
[[File:Install-V4_0-1.png|link=]]
 
 
'''2.''' The next page is 'OpenEMR Setup' 'Step 1', which asks whether setup should create the database.
:Leave the setting set to 'Have setup create the database', and click the 'Continue' button.  (screenshot below)
[[File:Install-V4_0-2.png|link=]]
 
 
'''3.''' The next page is 'OpenEMR Setup' 'Step 2'. It has a list of options used to setup the database, along with OpenEMR user and OpenEMR path information.
:Most users will just need to enter a 'Initial User Password' for the OpenEMR User and a 'Password' for the sql user (these fields are in red rectangles in below screenshot). Some users may also have to enter the password of the 'root' user in the mysql server. (screenshot below)
[[File:V4.0 5.png|link=]]
 
 
'''4.''' The next page is 'OpenEMR Setup' 'Step 3'. On this page you should see logs of OpenEMR connecting and creating the database.
:At the bottom of the page, it should read 'Next step will install and configure access controls (php-GACL).' Click the 'Continue' button. (screenshot below)
[[File:Install-V4_0-4.png|link=]]
 
 
'''5.''' The next page is 'OpenEMR Setup' 'Step 4'. On this page, OpenEMR configures access controls (php-GACL).
:You should see logs of OpenEMR installing and configuring php-GACL. you should see 'Success!' in green lettering four times. At the bottom of the page, it should read 'Next step will configure PHP.'. Click the 'Continue' button. (screenshot below)
[[File:Install-V4_0-5.png|link=]]
 
 
'''6.''' The next page is 'OpenEMR Setup' 'Step 5'. On this page is displayed recommendations of how to configure your php.ini config file.
:Read and follow the instructions carefully. At the bottom of the page, it should read "Next step will configure Apache web server.". We suggest you print this screen for future reference. Click the 'Continue' button. (screenshot below)
[[File:Install-V4_0-6.png|link=]]
 
 
'''7.''' The next page is 'OpenEMR Setup' 'Step 6'. On this page is displayed recommendations and warnings regarding directories Apache should NOT allow the outside world to see, as these directories contain Protected Health Information.
:Read and follow the instructions carefully. We suggest you print this screen for future reference. Click the 'Continue' button. (screenshot below)
[[File:Install-V4_0-7.png|link=]]
 
 
'''8.''' The next page is 'OpenEMR Setup'. This is the final configuration page.
:This final installation screen gives additional instructions.  This information is personalized for your setup, so we suggest you print this screen for future reference.  At the bottom of the page is your OpenEMR username and password, along with a link to OpenEMR. (screenshot below)
[[File:Install-V4_0-8.png|link=]]
 
 
:OpenEMR after installation: (screenshot below)
[[File:Login-V4_0-1.png|link=]]
 
== Download and install most recent patch ==
Instruction to do this can be found on the [[OpenEMR_Patches|OpenEMR Patches]] page.
 
 
Support:<br>
http://sourceforge.net/projects/openemr/forums
 
 
[[Category:Installation]][[Category:Windows Package]]

Latest revision as of 22:20, 11 January 2015

Required Software Installation

First install and configure MySQL, Apache (or another PHP-capable webserver), and PHP5. Many windows users have had success with the XAMPP package, which includes MySQL, Apache, and PHP. XAMPP can be downloaded from: http://www.apachefriends.org/en/xampp-windows.html (use XAMPP version 1.7.3 or less; OpenEMR is not compatible with 1.7.4.)

(Ensure PHP is configured with these settings)
(If not using the XAMPP package, then ensure when configuring MySQL for OpenEMR, STRICT_MODE must be disabled. This can be done using the MySQL Server Instance Configuration wizard or in the my.cnf file. You can check the setting in an existing MySQL instance by executing SHOW VARIABLES; in the MySQL Command Line Client and checking the value of SQL_MODE. For more details see: http://dev.mysql.com/doc/refman/5.0/en/server-sql-mode.html)

Installing OpenEMR

Downloading the package

1. Download OpenEMR from sourceforge:

http://downloads.sourceforge.net/openemr/openemr-4.0.0.zip (MD5 sum: 76fa79445bb9b967caf80ac307c00cfe)

2. Extract the downloaded OpenEMR archive, change the name of the directory openemr-4.0.0 to just openemr, and then move this directory to your webserver root directory. Refer to your webserver documentation to obtain your webserver root directory. For example, if your using XAMPP, then the webserver root directory is in the \xampp\htdocs directory.


Configuring the Install through the WEB GUI

1. Open up web-browser and point it to the installation script at http://localhost/openemr/setup.php .

The first screen gives some general instructions and ensures file and directory permissions are set up correctly. It should tell you all your file system permissions are good, and have a 'Continue' button on the bottom of the form. If it does, Click the 'Continue' button. Otherwise, If there are errors on this screen, then follow instructions to fix. (screenshot below)

Install-V4 0-1.png


2. The next page is 'OpenEMR Setup' 'Step 1', which asks whether setup should create the database.

Leave the setting set to 'Have setup create the database', and click the 'Continue' button. (screenshot below)

Install-V4 0-2.png


3. The next page is 'OpenEMR Setup' 'Step 2'. It has a list of options used to setup the database, along with OpenEMR user and OpenEMR path information.

Most users will just need to enter a 'Initial User Password' for the OpenEMR User and a 'Password' for the sql user (these fields are in red rectangles in below screenshot). Some users may also have to enter the password of the 'root' user in the mysql server. (screenshot below)

V4.0 5.png


4. The next page is 'OpenEMR Setup' 'Step 3'. On this page you should see logs of OpenEMR connecting and creating the database.

At the bottom of the page, it should read 'Next step will install and configure access controls (php-GACL).' Click the 'Continue' button. (screenshot below)

Install-V4 0-4.png


5. The next page is 'OpenEMR Setup' 'Step 4'. On this page, OpenEMR configures access controls (php-GACL).

You should see logs of OpenEMR installing and configuring php-GACL. you should see 'Success!' in green lettering four times. At the bottom of the page, it should read 'Next step will configure PHP.'. Click the 'Continue' button. (screenshot below)

Install-V4 0-5.png


6. The next page is 'OpenEMR Setup' 'Step 5'. On this page is displayed recommendations of how to configure your php.ini config file.

Read and follow the instructions carefully. At the bottom of the page, it should read "Next step will configure Apache web server.". We suggest you print this screen for future reference. Click the 'Continue' button. (screenshot below)

Install-V4 0-6.png


7. The next page is 'OpenEMR Setup' 'Step 6'. On this page is displayed recommendations and warnings regarding directories Apache should NOT allow the outside world to see, as these directories contain Protected Health Information.

Read and follow the instructions carefully. We suggest you print this screen for future reference. Click the 'Continue' button. (screenshot below)

Install-V4 0-7.png


8. The next page is 'OpenEMR Setup'. This is the final configuration page.

This final installation screen gives additional instructions. This information is personalized for your setup, so we suggest you print this screen for future reference. At the bottom of the page is your OpenEMR username and password, along with a link to OpenEMR. (screenshot below)

Install-V4 0-8.png


OpenEMR after installation: (screenshot below)

Login-V4 0-1.png

Download and install most recent patch

Instruction to do this can be found on the OpenEMR Patches page.


Support:
http://sourceforge.net/projects/openemr/forums