Openemr root directory other that /var/www

robertovasquez wrote on Friday, June 12, 2015:

I have installed openemr on apache virtual host to test my code. It works with some errors in the calendar. I wondering if some one has installed openemr using apache virtual host ( /etc/apache2/sites-available) with success.

tmccormi wrote on Friday, June 12, 2015:

All the time. I never use /var/www. more typically I use:
/opt/www/vhosts/URLNAME/production/openemr

bradymiller wrote on Saturday, June 13, 2015:

Hi Roberto,

Check out the scripts and install for the ubuntu/debian OpenEMR package for an example. Note it uses /etc/apache2/sites-available to alias from /var/www/html/openemr to /var/www/openemr (was needed for newer ubuntu/debian version that migrated /var/www/ directory to /var/www/html/) and works well.

-brady
OpenEMR

yehster wrote on Saturday, June 13, 2015:

Since there is partial success, and you “moved/copied” one potential issue may be directory permissions in the new location.

Verify that the directories that apache has the permissions it needs to write in these directories:

interface/main/calendar/modules/PostCalendar/pntemplates/cache

interface/main/calendar/modules/PostCalendar/pntemplates/compiled