[dev] Run head and an older version on the same machine.

Amith Varghese amith at xalan.com
Fri Oct 13 14:25:16 PDT 2006


Quoting eculp at encontacto.net:

If you have your "old" version in /var/www/html/mail/horde, put a  
.htaccess file with the following contents:

php_value include_path ".:/var/www/html/mail/php"

Make a directory called /var/www/html/mail/php that has a copy of the  
framework that matches the version of horde you have in  
/var/www/html/mail/horde.

Note, if you are using kronolith and using cron to call reminders.php  
you have to execute it like this:

/usr/bin/php -d include_path=".:/var/www/html/mail/php"  
/var/www/html/mail/horde/kronolith/scripts/reminders.php

In general I keep the freshest version of the framework CVS in the  
normal PHP/PEAR directory.  When I decide I want to update it, I copy  
the current version to a directory, set it up as mentioned above, and  
then update.   You should be able to run as many versions of Horde as  
you want using this strategy.

Amith


> I know this is probably possible but I can't think of a way to have  
> two frameworks installed without conflict between themselves and  
> pear.   I want to change folks who are using a 6-8 month old cvs  
> installation to today's head version on the same machine, little by  
> little.  I have no idea how to differentiate and without loosing  
> system pear.  I'm not even sure it is possible.
>
> Thanks for any suggestions.
>
> ed
>
>
> -- 
> Horde developers mailing list - Join the hunt: http://horde.org/bounties/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe at lists.horde.org





More information about the dev mailing list