Installing OpenEMR to a location other than the C:\ drive

wizard353 wrote on Wednesday, October 02, 2013:

By default, OpenEMR installs to the root on the C:\ drive. On my server, the root is a SSD of limited capacity and questionable long term reliability.

I would prefer that the OpenEMR database files be located on the D:\ drive, which is a more robust 300 GB RAID 1 SAS drive set.

Is there a specific program or config file setting that can be changed to modify the location of the database, and even the main programming files?

Thanks,

David D. Speck MD

bradymiller wrote on Thursday, October 03, 2013:

Hi David,

It may just work. See here for reasons:
http://www.apachefriends.org/en/xampp-windows.html#521
(it should work at root directory of any drive, and need to run setup_xampp.bat in xampp package if want to place it in a non-root directory)

-brady
OpenEMR

fsgl wrote on Thursday, October 03, 2013:

OpenEMR can be installed on auxillary drives, but will it run slower than on C-drive? Is speed not a concern if the microprocessors and the RAM’s are powerful enough?

cverk wrote on Thursday, October 03, 2013:

If we are talking windows, you can just move the xampp directory to any drive you want. From that directory you have to run xampp control to turn on apache and mysql. I made an encrypted drive called M: using truecrypt and I run xampp from there so if somebody stole my server it is encrypted at rest. It is a bit slow, but can actually be run from a thumb drive if you want and those can be encrypted as well. You just have to use windows explorer to find and run xampp control from where you have placed it on your computer. You also can’t run it as a service unless it is on the C: drive, so if you reboot you have to restart it manually.