MedDream for Dicom Systems Router Quick Install GENERAL NOTES: WARNING: starting from MedDream 4.04, there are no pre-release tests with $dbms = "DCMSYS". Please contact info@softneta.com if you would like to use this integration mode. Access to router's API is HTTP-based (QIDO-RS for searching, WADO-RS for metadata and image download). allow_url_fopen (php.ini) must be enabled. Requires PHP extensions gd and json. The openssl PHP extension will be required if your $db_host (config.php) is a HTTPS URL. Java is required for the Export function. 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. Under Linux, the .so file requires glibc 2.5 or later. During an upgrade it's recommended to use the included config.sample-dcmsys.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. 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! INSTALLATION: 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.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.2_meddream-x86_64.so to /usr/lib64/php/modules (if you are using PHP 5.2.x under a 64-bit OS) 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) 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.4_meddream.so" (if you are using PHP 5.4.x) "extension=php5.5_meddream.so" (if you are using PHP 5.4.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) "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) 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-dcmsys.php as a template. The file contains basic instructions. 6. Restart Apache 7. Navigate to http://127.0.0.1/meddream/home.php. Use an account set up in Router's web interface (System > Users/Groups). For a start, specify the same username in $admin_username (config.php). This will make it an administrator: allow access to the Settings dialog and the Register function. 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".