MedDream for ClearCanvas Quick Install (IIS and Apache) GENERAL NOTES: Part of MedDream requires PHP compiled with VC6 runtime. The newer VC9 is not supported. WINDOWS (IIS/PHP) INSTALL: Note: it is assumed that PHP is already installed and working. Installation of PHP under IIS is outside the scope of this short memo. 1. Copy meddream folder to IIS_WWW_ROOT (so that the result is IIS_WWW_ROOT/meddream; for example, in our machines it usually is C:\Inetpub\wwwroot\meddream.) Adjust permissions: the directories "meddream", "meddream\temp", "meddream\log" must be writeable by IIS (accounts IUSR_, IWAM_) if you need MPEG2 support, then cmd.exe must be readable by IIS (there is an explicit "Deny" permission by default) If you are updating an older version of MedDream: a) Please back up the old version (so you can go back any time). b) Please do not replace files you changed in last version. You must carefully synchronize the new version 2. From IIS_WWW_ROOT\meddream copy php5.2_meddream.dll to PHP_INSTALL_DIR\ext (if you are using PHP 5.2.x) copy php5.3_meddream.dll to PHP_INSTALL_DIR\ext (if you are using PHP 5.3.x) 3. Add extension=php5.2_meddream.dll to php.ini file (if you are using PHP 5.2.x) Add extension=php5.3_meddream.dll to php.ini file (if you are using PHP 5.3.x) 4. We recommend you to specify date.timezone in php.ini: [Date] ; Defines the default timezone used by the date functions date.timezone = "America/Chicago" (the list of possible values is at http://www.php.net/manual/en/timezones.php) 5. Edit IIS_WWW_ROOT/meddream/config.php file. Follow instructions inside the file. You will likely need to specify a port for database connection, like "localhost,1433". 6. Restart the World Wide Web Publishing service 7. Navigate to http://127.0.0.1/meddream/home.php and use database accounts to log in WINDOWS (APACHE/PHP) INSTALL: Note: it is assumed that both IIS and Apache are installed and using different TCP/IP ports. 1. Copy meddream folder to APACHE_HTDOCS_DIR (so that the result is APACHE_HTDOCS_DIR/meddream; for example, in our machines it usually is C:\xampplite\htdocs\meddream.) If you are updating an older version of MedDream: a) Please back up the old version (so you can go back any time). b) Please do not replace files you changed in last version. You must carefully synchronize the new version 2. From APACHE_HTDOCS_DIR\meddream copy php5.2_meddream.dll to PHP_INSTALL_DIR\ext (if you are using PHP 5.2.x) copy php5.3_meddream.dll to PHP_INSTALL_DIR\ext (if you are using PHP 5.3.x) 3. Add extension=php5.2_meddream.dll to php.ini file (if you are using PHP 5.2.x) Add extension=php5.3_meddream.dll to php.ini file (if you are using PHP 5.3.x) 4. We recommend you to specify date.timezone in php.ini: [Date] ; Defines the default timezone used by the date functions date.timezone = "America/Chicago" (the list of possible values is at http://www.php.net/manual/en/timezones.php) 5. Edit APACHE_HTDOCS_DIR/meddream/config.php file. Follow instructions inside the file. You will likely need to specify a port for database connection, like "localhost,1433". 6. Restart Apache 7. Navigate to http://127.0.0.1:APACHE_PORT/meddream/home.php (do not forget the actual port that Apache runs on, and use database accounts to log in)