MedDream for Conquest Quick Install (Windows and Linux) GENERAL NOTES: Under Windows, a thread-safe (TS) 32-bit PHP build is required. The DLLs included won't work with a 64-bit PHP, like in 64-bit builds of WampServer. Under Linux, a non-TS PHP build is required. This is related to a more common build of Apache, the "prefork". The "worker" build is incompatible. MedDream supports only MySQL, PostgreSQL, Microsoft SQL Server, SQLite v3 and ODBC 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 Forward and Export/Burn commands. Under Windows, do not forget to update either PATH or JAVA_HOME environment variable accordingly. PHP 5.3 is built for Windows either with VC6 or VC9 runtime. Take note which version you have, and use a corresponding .dll during installation as explained below. Otherwise you'll get an error message like this one: Module compiled with build ID=API20090626,TS,VC6 PHP compiled with build ID=API20090626,TS,VC9 These options need to match Under Linux, the .so file requires glibc 2.5 or later. During an upgrade it's recommended to use the included config.sample-conquest.php as a template and then update the resulting config.php according to the old one. This will prevent misunderstandings like variable names which were suddenly changed. The user interface now offers "CD" (740 MB) and "DVD" (4.7 GB) disc sizes. The actual splitting into volumes, however, is implemented only for PacsOne. Other PACSes still have *unlimited* volume size. MedDream is able to automatically include a DICOMDIR viewer in each disc of exported studies. To use that, simply place the viewer files in a subdirectory named "DICOMDIR". You must also ensure that a file named "autorun.inf" exists in that directory, otherwise contents won't be included; an empty autorun.inf is suitable if the viewer somehow doesn't contain it. MySQL from XAMPP 1.8 for Windows: if MedDream connects to the database very slowly (each attempt takes about 1 second), then try adding "bind-address = ::" to my.ini. While still in demo mode, you *must* remove the existing meddream.lic after changing computer's host name (any OS), reinstalling the OS (Windows) or changing the MAC of any network card (Linux). A correct file will be created automatically. Otherwise a commercial license generated from your meddream.lic will not work. This also means that Windows must be activated in advance! 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.3_meddream-VC6.dll to PHP_INSTALL_DIR\ext (if you are using PHP 5.3.x, VC6 build) copy php5.3_meddream-VC9.dll to PHP_INSTALL_DIR\ext (if you are using PHP 5.3.x, VC9 build) copy php5.4_meddream.dll to PHP_INSTALL_DIR\ext (if you are using PHP 5.4.x) copy php5.5_meddream.dll to PHP_INSTALL_DIR\ext (if you are using PHP 5.5.x) copy php5.6_meddream.dll to PHP_INSTALL_DIR\ext (if you are using PHP 5.6.x) 3. Add to php.ini file "extension=php5.3_meddream-VC6.dll" (if you are using PHP 5.3.x, VC6 build) "extension=php5.3_meddream-VC9.dll" (if you are using PHP 5.3.x, VC9 build) "extension=php5.4_meddream.dll" (if you are using PHP 5.4.x) "extension=php5.5_meddream.dll" (if you are using PHP 5.5.x) "extension=php5.6_meddream.dll" (if you are using PHP 5.6.x) 4. 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. Use config.sample-conquest.php as a template. The file contains basic instructions. 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/* chmod a+x APACHE_HTDOCS_DIR/meddream/*.sh chmod a+x APACHE_HTDOCS_DIR/meddream/dcmtk/dsr2html 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.3_meddream.so to /usr/lib/php/modules (if you are using PHP 5.3.x) copy php5.4_meddream.so to /usr/lib/php/modules (if you are using PHP 5.4.x) copy php5.5_meddream.so to /usr/lib/php/modules (if you are using PHP 5.5.x) copy php5.6_meddream.so to /usr/lib/php/modules (if you are using PHP 5.6.x) copy php5.3_meddream-x86_64.so to /usr/lib64/php/modules (if you are using PHP 5.3.x under a 64-bit OS) copy php5.4_meddream-x86_64.so to /usr/lib64/php/modules (if you are using PHP 5.4.x under a 64-bit OS) copy php5.5_meddream-x86_64.so to /usr/lib64/php/modules (if you are using PHP 5.5.x under a 64-bit OS) copy php5.6_meddream-x86_64.so to /usr/lib64/php/modules (if you are using PHP 5.6.x under a 64-bit OS) 3. Add to /etc/php.ini file "extension=php5.3_meddream.so" (if you are using PHP 5.3.x) "extension=php5.4_meddream.so" (if you are using PHP 5.4.x) "extension=php5.5_meddream.so" (if you are using PHP 5.5.x) "extension=php5.6_meddream.so" (if you are using PHP 5.6.x) "extension=php5.3_meddream-x86_64.so" (if you are using PHP 5.3.x under a 64-bit OS) "extension=php5.4_meddream-x86_64.so" (if you are using PHP 5.4.x under a 64-bit OS) "extension=php5.5_meddream-x86_64.so" (if you are using PHP 5.5.x under a 64-bit OS) "extension=php5.6_meddream-x86_64.so" (if you are using PHP 5.6.x under a 64-bit OS) 4. 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. Use config.sample-conquest.php as a template. The file contains basic instructions. 6. Restart Apache 7. Navigate to http://127.0.0.1/meddream/home.php (use database accounts to log in). 8. mkisofs is required for the Export command. If your distribution has only genisoimage, then you need to create a symlink to it named "mkisofs". 9. To display SR files, we are using a prebuilt binary meddream/dcmtk/dsr2html from DCMTK 3.6.0. If your distribution provides another version of it that works better, then you'll need to replace "dsr2html" and "dicom.dic" with symlinks to your copies. 10. To display non-BD-compatible MPEG4 videos (Transfer Syntax UID 1.2.840.10008.1.2.4.102), latest version of FFmpeg might be required.