MedDream for Conquest Quick Install (Windows and Linux) GENERAL NOTES: MedDream supports only MySQL, PostgreSQL and Microsoft SQL Server databases so far. If Conquest is configured to use a different DBMS, it will be inaccessible. MedDream does not support the "V2 (allows NKI compression)" image format. All images that were received by Conquest with this setting on, including those of the example patient "HEAD EXP2", will be unusable. Java must be installed for the Export (or Burn) command. Part of MedDream requires PHP compiled with VC6 runtime. The newer VC9 is not supported. Under Linux, the 32-bit .so file requires at least the v2.8 of glibc and the 64-bit one requires v2.5. WINDOWS INSTALL: 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 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. 6. Restart Apache 7. Navigate to http://127.0.0.1/meddream/home.php (use database accounts to log in) LINUX INSTALL: 1. Copy the "meddream" directory to APACHE_HTDOCS_DIR (so that the result is APACHE_HTDOCS_DIR/meddream; for example, in our machines it usually is /var/www/html/meddream .) Adjust permissions: no less than 0777 for APACHE_HTDOCS_DIR/meddream 0777 for APACHE_HTDOCS_DIR/meddream/log 0777 for APACHE_HTDOCS_DIR/meddream/temp Additionally, chmod a+x APACHE_HTDOCS_DIR/meddream/dcm4che/bin/* 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.so to /usr/lib/php/modules (if you are using PHP 5.2.x) copy php5.3_meddream.so to /usr/lib/php/modules (if you are using PHP 5.3.x) copy php5.2_meddream-x86_64.so to /usr/lib64/php/modules (if you are using PHP 5.2.* under a 64-bit OS) copy php5.3_meddream-x86_64.so to /usr/lib64/php/modules (if you are using PHP 5.3.* under a 64-bit OS) 3. Add to /etc/php.ini file "extension=php5.2_meddream.so" (if you are using PHP 5.2.x) "extension=php5.3_meddream.so" (if you are using PHP 5.3.x) "extension=php5.2_meddream-x86_64.so" (if you are using PHP 5.2.x under a 64-bit OS) "extension=php5.3_meddream-x86_64.so" (if you are using PHP 5.3.x under a 64-bit OS) 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. 6. Restart Apache 7. Navigate to http://127.0.0.1/meddream/home.php (use database accounts to log in). 8. ffmpeg is required in order to display thumbnails of MPEG2 DICOM files. It is expected at /usr/bin/ffmpeg . Not every distribution has it. Sometimes it is possible to download separate dependencies from sites like rpmfind.net and install these manually. 9. mkisofs is required for the Export command.