[horde] Moving the horde folder somewhere else.

jason lee jasonlee at heavenbridge.com
Tue Jul 19 16:11:30 PDT 2005


Quoting "Edwin L. Culp" <eculp at encontacto.net>:

> Quoting "Edwin L. Culp" <eculp at encontacto.net>:
>
>> Quoting jason lee <jasonlee at heavenbridge.com>:
>>
>>> Hi, I have recently moved my horde folder to a new directory.
>>> and things fell apart from there, horde loads as a blank page.
>>>
>>> I looked at the httpd error log, and it was trying to find the horde
>>> files from
>>> the previous location (which does not exist anymore)
>>>
>>> I looked through configuration files, and replaced all that had the old dir
>>> location with the new dir location, and the problem persists.
>>>
>>> I looked at the horde database, and searched for anything relative to this
>>> issue, and found none.
>>>
>>> finally I made a copy of the horde folder and put it in the old
>>> location, and I
>>> loaded the test.php from the new horde folder.
>>>
>>> and in the pear search path. it was looking for stuff at the old dir
>>> instead of
>>> the new.
>>>
>>> PEAR Search Path (PHP's include_path):
>>> /old-dir/horde/lib:.:/usr/share/pear
>>>
>>> I am not sure what i need to modify so that it will look for files in the
>>> /new-dir/horde/lib instead of the /old-dir/horde/lib
>>>
>>> is there something hidden that i've over looked?
>
> I over looked it.  Sorry.  I read the message to quickly.  Sounds like
> your include_path in your php.ini file needs to be modified to
> something like
>
> include_path = ".:/new-dir/horde/lib:/usr/local/share/pear"
>
> please remember to restart or reset your apache server after changing 
> php.ini.
>
> ed

Thank you for the quick response.
I took a look at my include_path in php.ini and it is:
; UNIX: "/path1:/path2"
;include_path = ".:/php/includes"
Its the default from php installation.

I modified it to
include_path = "/new-dir/horde/lib:/usr/share/pear"

and when i load test.php again this shows up.
PEAR Search Path (PHP's include_path):
/old-dir/horde/lib:/new-dir/horde/lib:/usr/share/pear
PEAR: No   <--- ? ? ?
Check your PHP include_path setting to make sure it has the PEAR library
directory.

horde no longer works after the mod.
This brings to me some questions,
1. If include_path was not modified, and worked before, why not work again?
2. why is /old-dir/ still in the include_path, even when i did not include it?

Any ideas ?

>>>
>>> helps are greately appreciated.
>>
>> I have one of my versions in /usr/local/www/data/correo and IIRC, all I
>> did was change, Apache virtual config and register php.
>>
>> registry.php:        $webroot = '/correo';
>>
>> httpd.conf: (The following is not all needed.  This is a legacy
>> configuration ;)
>>
>> DocumentRoot "/usr/local/www/data/correo/"  Alias /correo/
>> //usr/local/www/data/correo/  Alias /imp/
>> //usr/local/www/data/correo/imp/  Alias //ansel-images/
>> //usr/local/VFS/correo/ansel/  Alias /kronolith/
>> //usr/local/www/data/correo/kronolith/  Alias /nag/
>> //usr/local/www/data/correo/nag/  Alias /turba/
>> //usr/local/www/data/correo/turba/  I haven't had a problem.
>>
>> Hope this helps,
>>
>> ed
>>
>>
>>
>> --
>> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
>> Frequently Asked Questions: http://horde.org/faq/
>> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>>
>
>
>
> --
> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the horde mailing list