[horde] php include path.

Arjen de Korte arjen+horde at de-korte.org
Wed Jul 9 18:35:53 UTC 2014


Citeren Steve Campbell <campbell at cnpapers.com>:

> Just wondering, then, if I reinstall, how should I respond when  
> asked where the base is to be installed:
>
> /var/www/html  (Apache's DocumentRoot)
> or
> /var/www/html/horde

If Horde lives in /var/www/html/horde, that's the base directory. If  
you want to aid your users by following existing bookmarks, redirects  
and/of rewriterules are the way to go. And please do not top-post.

> steve
> On 7/9/2014 12:11 PM, Steve Campbell wrote:
>>
>> On 7/9/2014 11:46 AM, Michael M Slusarz wrote:
>>> Quoting Steve Campbell <campbell at cnpapers.com>:
>>>
>>>> On 7/9/2014 11:23 AM, Arjen de Korte wrote:
>>>>> Citeren Steve Campbell <campbell at cnpapers.com>:
>>>>>
>>>>>> I've got Imp running now with authentication to others servers.  
>>>>>> I actually get a screen with Inbox showing, but upon clicking  
>>>>>> that, I get a blank screen.
>>>>>>
>>>>>> My apache logs shows that I can't include_once /lib/core.php.  
>>>>>> Where should I modify the include path for php on this server?  
>>>>>> I see in one of the config files that it should be done as a  
>>>>>> configured option (ToDo) for later. Is there already a file  
>>>>>> that sets this php option?
>>>>>
>>>>> My guess is that 'horde_dir' is either misconfigured or not  
>>>>> configured at all in PEAR. What does the output of
>>>>>
>>>>>   pear config-show
>>>>>
>>>>> tell? Usually this should have been set when you ran
>>>>>
>>>>>   pear install horde/horde_role
>>>>>
>>>>> but either you didn't run this or typed in the wrong location  
>>>>> (this should be an absolute path to the server's web root, like  
>>>>> /var/www/horde (definitly not '/').
>>>>>
>>>>>
>>>>>
>>>>>
>>>> The test.php page shows the following line:
>>>>
>>>> * *PEAR Search Path (PHP's include_path)*:
>>>> /var/www/html/horde/lib:/var/www/html/horde/lib:.:/usr/share/pear:/usr/share/php pear config-show  
>>>> has:
>>>>
>>>> Base Horde directory           horde_dir /usr/share/pear/www/horde
>>>>
>>>> The file needed is actually in "/var/www/html/horde/imp/lib/core.php".
>>>
>>> There is no 'imp/lib/core.php'.  core.php lives under the  
>>> horde/lib directory only.
>>>
>>> michael
>>>
>>> ___________________________________
>>> Michael Slusarz [slusarz at horde.org]
>>>
>> On my old server, Horde was installed as Framework and Imp was  
>> installed as an add-on. To log into imp, you would go to  
>> http:/servername/horde/imp.
>>
>> When I installed the Webmail, I think I indicated that the base was  
>> /var/www/html/horde/imp. This probably is why I have a  
>> /var/www/html/horde/imp/lib folder instead of  
>> /var/www/html/horde/lib folder.
>>
>> I did this because a lot of folks here have a bookmark to the old  
>> login, and once I had the new server configured, I'd bring it up as  
>> the old server and no one would be calling me saying their bookmark  
>> doesn't work.
>>
>> The file login.php is in /var/www/html/horde/imp, but using  
>> http://new_servername_ip/horde/imp/login.php doesn't work. I have  
>> to use http://new_servername_ip/horde/login.php to login. So  
>> somewhere something is redirected.
>>
>> But yes, I do have only one lib/core.php and that's under  
>> /var/www/html/horde/imp.
>>
>> I guess I'll either figure out where to add the folder to the  
>> include_path or uninstall and reinstall and then do some magic in  
>> my apache config for aliases or something.
>>
>> Thanks
>> steve
>
> -- 
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org


-- 
This message was sent from a mailinglist subscription address.
For off-list replies, you must remove the address extension.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5849 bytes
Desc: S/MIME Signature
URL: <http://lists.horde.org/archives/horde/attachments/20140709/4bfa05fa/attachment-0001.bin>


More information about the horde mailing list