avoid unescaped quotes when updating database
[openemr.git] / Documentation / OpenEMR-Win2003-server-install-new.html
blob63295579e9c3978567216b769acd13cbd2683025
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 <HTML>
3 <HEAD>
4 <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=utf-8">
5 <TITLE></TITLE>
6 <META NAME="GENERATOR" CONTENT="OpenOffice.org 1.1.2 (Linux)">
7 <META NAME="CREATED" CONTENT="20050114;13373000">
8 <META NAME="CHANGED" CONTENT="20050114;14092500">
9 <STYLE>
10 <!--
11 @page {
12 margin-top: 1in;
13 margin-right: 1.25in;
14 margin-left: 1.25in;
15 size: 8.5in 11in;
17 body {
18 background-color: #DEE6EE;
22 -->
23 </STYLE>
24 </HEAD>
25 <BODY LANG="en-US" DIR="LTR">
26 <P ALIGN=CENTER STYLE="margin-bottom: 0in; font-style: normal; font-weight: medium; text-decoration: none">
27 <FONT FACE="Arial, sans-serif"><FONT SIZE=5 STYLE="font-size: 16pt">Installing
28 OpenEMR on a Windows 2003 server</FONT></FONT></P>
29 <P STYLE="margin-bottom: 0in; font-style: normal; font-weight: medium; text-decoration: none">
30 <BR>
31 </P>
32 <P STYLE="margin-bottom: 0in; font-style: normal; font-weight: medium; text-decoration: none">
33 <FONT FACE="Arial, sans-serif"><FONT SIZE=3>This document describes
34 how to obtain and install OpenEMR on Windows platforms.</FONT></FONT></P>
35 <P STYLE="margin-bottom: 0in; font-style: normal; font-weight: medium; text-decoration: none">
36 <BR>
37 </P>
38 <P ALIGN=CENTER STYLE="margin-bottom: 0in; font-style: normal; text-decoration: none">
39 <FONT FACE="Arial, sans-serif"><FONT SIZE=4><B>Installation using
40 XAMPP</B></FONT></FONT></P>
41 <P STYLE="margin-bottom: 0in; font-style: normal; text-decoration: none">
42 <FONT FACE="Arial, sans-serif"><FONT SIZE=3><B>Choose which
43 distribution to install.</B></FONT></FONT></P>
44 <P STYLE="margin-bottom: 0in; font-style: normal; font-weight: medium; text-decoration: none">
45 <FONT FACE="Arial, sans-serif"><FONT SIZE=3>We recommend installing a
46 stable production release. For our project, it was
47 the XAMPP 1.4.11 version, which is free of charge.</FONT></FONT></P>
48 <P STYLE="margin-bottom: 0in; font-style: normal; text-decoration: none">
49 <FONT FACE="Arial, sans-serif"><FONT SIZE=3><B>Download the
50 distribution you want to install. </B></FONT></FONT>
51 </P>
52 <P STYLE="margin-bottom: 0in; font-style: normal; font-weight: medium; text-decoration: none">
53 <FONT FACE="Arial, sans-serif"><FONT SIZE=3>We downloaded the XAMPP
54 1.4.11 installer, xampp-win32-1.4.11-installer.exe, from the Apache
55 Friends organization's Web site, http://www.apachefriends.org,
56 because it's easy and safe.</FONT></FONT></P>
57 <P STYLE="margin-bottom: 0in; font-style: normal; text-decoration: none">
58 <FONT FACE="Arial, sans-serif"><FONT SIZE=3><B>Install the
59 distribution.</B></FONT></FONT></P>
60 <P STYLE="margin-bottom: 0in; font-style: normal; font-weight: medium; text-decoration: none">
61 <FONT FACE="Arial, sans-serif"><FONT SIZE=3>Installation of XAMPP is
62 very easy. Just unpack the package on the partition of your choice.
63 We chose the default, creating the main directory in
64 C:\apachefriends\xampp.</FONT></FONT></P>
65 <P STYLE="margin-bottom: 0in; font-style: normal; text-decoration: none">
66 <FONT FACE="Arial, sans-serif"><FONT SIZE=3><B>Perform
67 post-installation setup.</B></FONT></FONT></P>
68 <P STYLE="margin-bottom: 0in; font-style: normal; font-weight: medium; text-decoration: none">
69 <FONT FACE="Arial, sans-serif"><FONT SIZE=3>To start XAMPP, choose
70 the &quot;xampp basic start&quot; program from the start menu (start
71 menu-&gt;apachefieends-&gt;xampp). </FONT></FONT>
72 </P>
73 <P STYLE="margin-bottom: 0in; font-style: normal; font-weight: medium; text-decoration: none">
74 <FONT FACE="Arial, sans-serif"><FONT SIZE=3>Although MySQL starts
75 without a password for &quot;root,&quot; you can add a root password,
76 if you wish. To do so, use &quot;mysqladmin&quot; under the console
77 or use the &quot;phpMyAdmin&quot; graphics program found on the XAMPP
78 tools menu. </FONT></FONT>
79 </P>
80 <P STYLE="margin-bottom: 0in; font-style: normal; font-weight: medium; text-decoration: none">
81 <FONT FACE="Arial, sans-serif"><FONT SIZE=3>Change the XAMPP switch
82 from PHP 5 to the PHP 4.3.10 version by using the &quot;php switch&quot;
83 program from the start menu (startmenu-&gt;apachefriends-&gt;php
84 switch).<BR></FONT></FONT><BR>
85 </P>
86 <P ALIGN=CENTER STYLE="margin-bottom: 0in; font-style: normal; text-decoration: none">
87 <FONT FACE="Arial, sans-serif"><FONT SIZE=4><B>Installation of
88 OpenEMR</B></FONT></FONT></P>
89 <P STYLE="margin-bottom: 0in; font-style: normal; text-decoration: none">
90 <FONT FACE="Arial, sans-serif"><FONT SIZE=3><B>Choose which
91 distribution to install.</B></FONT></FONT></P>
92 <P STYLE="margin-bottom: 0in; font-style: normal; font-weight: medium; text-decoration: none">
93 <FONT FACE="Arial, sans-serif"><FONT SIZE=3>We recommend installing a
94 stable production release. For our project with
95 Windows, it was the OpenEMR 2.6.5 version, which is also free of
96 charge. </FONT></FONT>
97 </P>
98 <P STYLE="margin-bottom: 0in; font-style: normal; text-decoration: none">
99 <FONT FACE="Arial, sans-serif"><FONT SIZE=3><B>Download the
100 distribution you want to install.</B></FONT></FONT></P>
101 <P STYLE="margin-bottom: 0in; font-style: normal; font-weight: medium; text-decoration: none">
102 <FONT FACE="Arial, sans-serif"><FONT SIZE=3>We downloaded the
103 openemr-ea-2.5.3PF.tgz version from the OpenEMR Web site,
104 http://openemr.net.</FONT></FONT></P>
105 <P STYLE="margin-bottom: 0in; font-style: normal; text-decoration: none">
106 <FONT FACE="Arial, sans-serif"><FONT SIZE=3><B>Install the
107 distribution.</B></FONT></FONT></P>
108 <P STYLE="margin-bottom: 0in; font-style: normal; font-weight: medium; text-decoration: none">
109 <FONT FACE="Arial, sans-serif"><FONT SIZE=3>For installation, we used
110 the following Pennington Firm &quot;OpenEMR Windows installation&quot;
111 document:<BR></FONT></FONT><BR>
112 </P>
113 <OL>
114 <LI><P STYLE="margin-bottom: 0in; font-style: normal; font-weight: medium; text-decoration: none">
115 <FONT FACE="Arial, sans-serif"><FONT SIZE=3>As an administrator,
116 extract using WinZip the openemr archive copy and move the openemr
117 folder into C:\apachefriends\xampp\htdocs.</FONT></FONT></P>
118 <LI><P STYLE="margin-bottom: 0in; font-style: normal; font-weight: medium; text-decoration: none">
119 <FONT FACE="Arial, sans-serif"><FONT SIZE=3>Use WordPad to open
120 globals.php file, which is in
121 C:\apachefriends\xampp\htdocs\openemr\interface. </FONT></FONT>
122 </P>
123 <LI><P STYLE="margin-bottom: 0in"><FONT FACE="Arial, sans-serif"><FONT SIZE=3><SPAN STYLE="font-weight: medium"><SPAN STYLE="text-decoration: none"><SPAN STYLE="font-style: normal">Change
124 $webserver_root =&quot;/var/www/openemr&quot;; to $webserver_root
125 </SPAN></SPAN></SPAN>=&quot;C: /apachefriends/xampp/htdocs/openemr&quot;.</FONT></FONT></P>
126 <LI><P STYLE="margin-bottom: 0in"><FONT FACE="Arial, sans-serif"><FONT SIZE=3>Start
127 Web browser and type in http: //localhost/openemr/setup.php. </FONT></FONT>
128 </P>
129 <LI><P STYLE="margin-bottom: 0in; font-style: normal; font-weight: medium; text-decoration: none">
130 <FONT FACE="Arial, sans-serif"><FONT SIZE=3>Click &quot;Continue&quot;
131 button.</FONT></FONT></P>
132 <LI><P STYLE="margin-bottom: 0in; font-style: normal; font-weight: medium; text-decoration: none">
133 <FONT FACE="Arial, sans-serif"><FONT SIZE=3>For the first step,
134 choose &quot;Have setup create the databases&quot; and click
135 &quot;Continue.&quot;</FONT></FONT></P>
136 <LI><P STYLE="margin-bottom: 0in; font-style: normal; font-weight: medium; text-decoration: none">
137 <FONT FACE="Arial, sans-serif"><FONT SIZE=3>For the next step, choose
138 the following entries:</FONT></FONT></P>
139 <OL>
140 <LI><P STYLE="margin-bottom: 0in; font-style: normal; font-weight: medium; text-decoration: none">
141 <FONT FACE="Arial, sans-serif"><FONT SIZE=2>mysql root password –
142 for password that you choose early;</FONT></FONT></P>
143 <LI><P STYLE="margin-bottom: 0in; font-style: normal; font-weight: medium; text-decoration: none">
144 <FONT FACE="Arial, sans-serif"><FONT SIZE=2>openemr password –
145 use something simple like &quot;openemr1&quot;;</FONT></FONT></P>
146 <LI><P STYLE="margin-bottom: 0in; font-style: normal; font-weight: medium; text-decoration: none">
147 <FONT FACE="Arial, sans-serif"><FONT SIZE=2>database name – for
148 example, use &quot;openemr&quot;;</FONT></FONT></P>
149 <LI><P STYLE="margin-bottom: 0in; font-style: normal; font-weight: medium; text-decoration: none">
150 <FONT FACE="Arial, sans-serif"><FONT SIZE=2>change default clinic
151 name to the name of your clinic – for example, use “clinic”</FONT></FONT></P>
152 <LI><P STYLE="margin-bottom: 0in; font-style: normal; font-weight: medium; text-decoration: none">
153 <FONT FACE="Arial, sans-serif"><FONT SIZE=2>Click “Continue”
154 and soon you will be see the message, &quot;Congratuations...&quot;</FONT></FONT></P>
155 </OL>
156 </OL>
157 <P STYLE="margin-bottom: 0in; font-style: normal; text-decoration: none">
158 <FONT FACE="Arial, sans-serif"><FONT SIZE=3><B>Perform
159 post-installation setup. </B></FONT></FONT>
160 </P>
161 </BODY>
162 </HTML>