FreeMED Installation Instructions on MSWindows

Submitted by vbradley on Sun, 2006-08-13 11:08

Guy Beaupré wrote these instructions after a successful MSWindows installation of FreeMED.

Here's the recipe to install the latest Freemed version ( 0.8.1.1 ) on Windows ( WinXP)

Editor's note: version 0.8.1.1 is no longer the latest version.

Ingredients:

Apache 1.0.34

PHP-4.4.1-installer.exe
PHP-4.4.1-Win32.zip

MySQL Version 4.1.15
MySQL Administrator 1.1.5

PEAR ( located under C:\PHP\PEAR )

WinRAR ( for files extractions )

How-To:

1) Install Apache 1.0.34 for Windows

2) Install PHP

Note: Using the standard installation directory simplify the configuration!!!!

i.e.: c:\PHP

- Read install.txt located under the c:\PHP directory

- Install PHP as a CGI Script in Apache

Example: Edit http.conf under "conf" directory in Apache

Add the following lines at the end:

ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php

# For PHP 4
Action application/x-httpd-php "/php/php.exe"

# specify the directory where php.ini is
SetEnv PHPRC C:/php

3) Make sure the PHP.INI under windows is available.

- You should make a copy of PHP.ini under c:\PHP....

4) Download Freemed software

- Extract Freemed-0.8.1.1 under "htdocs" directory

- Rename it to "freemed"

5) Install PEAR

- Go to C:\PHP directory

- Execute C:\PHP> PHP PEAR\go-pear.php local

- Say yes to most of the questions

- Double click on the PEAR_ENV.REG file located under C:\PHP directory

6) Install MySQL

- Create freemed db

- Create "freemed" user with all rights

- Associate a "XXXXX" password to the "freemed" user

7) Modify lib\settings.php

Note: Make sure the "ROOT" password is empty here and in the MySQL DB....

Example:

Change or double check the following lines in the "settings" file:

define ('INSTALLATION', "Stock FreeMED Install"); // installation name
define ('DB_HOST', "localhost"); // database (SQL) host location
define ('DB_NAME', "freemed"); // database name
define ('DB_USER', "root"); // SQL server username
define ('DB_PASSWORD', ""); // SQL server password
define ('PHYSICAL_LOCATION', "c:/program files/apache group/apache/htdocs/freemed");
define ('PATID_PREFIX', "PAT"); // used to generate internal practice ID
define ('BUG_TRACKER', false); // set bug tracker on or off
//define ('TEMPLATE', "default"); // set default template
define ('TEMPLATE', "newskin"); // set default template
define ('HOST', '192.168.0.10'); // host name for this system
define ('BASE_URL', '/freemed'); // offset (i.e. http://here/package)
define ('HTTP', 'http'); // http for normal, https for SSL
define ('SESSION_PROTECTION', true); // strong session protection?
define ('RECORD_LOCK_TIMEOUT', 180); // record lock timeout in seconds
define ('DEFAULT_LANGUAGE', "en_US"); // default language
define ('ALWAYS_SELFTEST', true); // We can check the health of the database etc, at every login...
define ('AUTHENTICATION_TYPE', 'Password'); // authentication type
define ('ALWAYS_LANGUAGE_BAR', true); // Do we always display the language selection bar?
define ('INIT_ADDR',"127.0.0.1"); // this is the only IP address that can run the init wizard...

8) Call http://127.0.0.1/freemed/install.php

9) It works....or should work....

Good luck....

Guy

Submitted by jeff on Mon, 2007-06-11 11:50.

Looks like someone else has also been working on a tutorial. Check out:

http://csd.ssvl.kth.se/~csd2006-team6/files/weeklyreport/w6/freemed.pdf

(Although it looks like it was based on version 0.8.1.1 ... )

Jeff Buchbinder
Project Head
FreeMED Software Foundation, Inc
http://freemedsoftware.org/

Submitted by harkugo on Fri, 2007-07-13 01:17.

Hi all..

After installing FreeMed i m able to c the login page.. But after loggin in the reqd page is not displayed. After checking the log files i came to know an error 'File Does Not Exist: Apache2.2/htdocs/freemed/lib/template/default/ie7'. The missin file is some ie7.. I donno whr this file is..