MedDream for dcm4chee Quick Install (Windows and Linux) 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 updating older version of meddream: a) Please, backup old version of meddream (so, you can go back any time). b) Please, do not replace files you changed in last version. You must carefully synchronize new version 2. From APACHE_HTDOCS_DIR/meddream copy php5.2_meddream.dll to \php\ext 3. Add extension=php5.2_meddream.dll to php.ini file 4. We recommend you to specify date.timezone into php.ini: [Date] ; Defines the default timezone used by the date functions date.timezone = "America/Chicago" ;timezone list you can found in http://www.php.net/manual/en/timezones.php 5. Edit dcm4chee MySQL database name in APACHE_HTDOCS_DIR/meddream/config.php file. Edit dcm4chee dir name in APACHE_HTDOCS_DIR/meddream/config.php file. 6. Restart Apache 7. Navigate to http://127.0.0.1/meddream/home.php (use mysql users 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/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 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 3. Add "extension=php5.2_meddream.so" to /etc/php.ini file 4. We recommend you to specify date.timezone into php.ini: [Date] ; Defines the default timezone used by the date functions date.timezone = "America/Chicago" ;timezone list you can found in http://www.php.net/manual/en/timezones.php 5. Edit dcm4chee MySQL database name in APACHE_HTDOCS_DIR/meddream/config.php file. Edit dcm4chee dir name in APACHE_HTDOCS_DIR/meddream/config.php file. 6. Restart Apache 7. Navigate to http://127.0.0.1/meddream/home.php (use mysql users to log in). 8. The FreeImage library is strongly recommended for performance reasons. It will be accessed via a symbolic link /usr/lib/libfreeimage.so.3 ; you may need to create or update it, for example, cd /usr/lib ln -s -f libfreeimage-3.13.0.so libfreeimage.so.3 It is also recommended to get a recent version, at least 3.13. For example, Fedora Core 12 contains only 3.10 which basically works but is harder to troubleshoot. In that case it should be possible to compile it from source ("make && make install" was enough for us). 9. ffmpeg is required in order to display thumbnails of MPEG2 DICOM files. (Display of the video itself is still being ported, however you can already see the thumbnail.) 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.