Windows XP Install Guide

From MirrorMed

Complete install guide for Mirrormed on Windows XP

Preface: Please note that Windows is not a supported platform for Mirrormed, you run at your own risk, that being said, it does work on Windows and some people may want to try it out a bit before installing Linux which is where it really should be running.

Also on another note, please never run any practice off one hard drive, always make sure you are running a mirrored raid of at least two drives, and do backups which are taken offsite (think flood, fire)

Download XAMPP windows installer from http://easynews.dl.sourceforge.net/sourceforge/xampp/xampp-linux-1.4.16.tar.gz

Install apache and mysql as a service.

Let it open the XAMMP control pannel

Click stop next to Apache and Mysql

Click on Admin to the right of Apache

Select your language.

On the left under tools, click on PHP Switch, currently Mirrormed only runs under PHP 4.

This page gives you instructions on how to switch to PHP 4, it tells you where it installed the php-switch.bat, again, make sure Apache is not running from the control pannel, and run the php-switch.bat pressing 4 when it asks if you want to switch to PHP 4.

When it is done, it will say that you may now use Apache with PHP 4.

For some reason apache is using this php.ini file xampp\apache\bin\php.ini instead of xampp\xampp\php\php4\php4.ini file, so open xampp\apache\bin\php.ini with notepad.

Make the following changes...

change memory_limit in the /etc/php.ini file to 128 change register_globals in /etc/php.ini to Off change magic_quotes_gpc in /etc/php.ini to Off

Now if you are going to be scanning in your patient files, and you are going to be attaching large files to your EMR patient file, you may need to increase the maximum upload size. Change the following two lines to match the largest file size you will be uploading.

post_max_size = 16M upload_max_filesize = 16M

Save your php4.ini and exit.

Download 7zip from http://www.7zip.org (needed to decompress the mirromed tar.gz files)

Install 7zip

Download Mirrormed from http://www.mirrormed.org/ It comes as a .tar.gz file this is much like a zip file, but it has two levels. Tar and Gzip so you may need to decomress it twice with 7zip. Move your now uncompressed Mirrormed folder in to the xampp/htdocs directory and rename it to mirrormed.

Go to www.mirrormed.org and buy a cpt code pack, the AMA charges for distribution of their CPT codes, and make anyone that distributes them pay them, so you will want to buy the code pack from www.mirrormed.org which is formatted to automatically install the CPT codes to your EMR. The charge for the code pack just pays for the fee the AMA charges to distribute it.

Decompress this codepack.sql to your xampp\htdocs\mirrormed\local\setup\code_packs\ directory.

Go to your XAMPP control pannel and start Mysql, then start Apache

Now point your browser to http://localhost/mirrormed/installer

Click continue

Database Username: root Database Password: (leave blank) Database Server: localhost Database Name: mirrormed

This script will check your setup, and you should have all green checkmarks.

Click Continue

Click I agree(after reading)

It will install the database, then ask if you want to install any codepacks, select the one you bought from mirrormed.org and no others and click install file...this can take a very long time on an Athlon 3500+ with 1.5 gigs of memory it took 3 minutes, but I have seen it take up to 15 on slower machines.

Now click done

Click continue

You will be pointed to the Mirrormed forums for help if you need it.

Now click on the here which takes you to http://localhost/mirrormed/ where you can start using Mirrormed.

The default login is Username: admin Password: admin

You may see quite a few lines of this... Notice: Only variable references should be returned by reference in I:\xampp\xampp\htdocs\mirrormed\cellini\includes\Security.class.php on line 51

They just have to do with converting the code to newer versions of php. Scroll to the bottom and log in.