You are here: Re: include_path related issue « PHP Programming Language « IT news, forums, messages
Re: include_path related issue

Posted by Schraalhans Keukenmeester on 04/27/07 09:54

Rik wrote:
> Schraalhans Keukenmeester wrote:
>> Rik wrote:
>>> Schraalhans Keukenmeester wrote:
>>>> Rik wrote:
>>>>> Schraalhans Keukenmeester wrote:
>>>>>> php_value include_path ".|../includes"
>>>>>> (include_path='.:../includes')
>>>>> If a unix box, the colon seems correct (windows would have a
>>>>> semicolon).
>>>>> I've never seen a pipe use for this though, but that might be my lack
>>>>> of OS knowledge and environmental variables.
>>>>>
>>>> The pipe was a typo, alas. If only it were so easy, Rik.
>>> Wish it was...
>>>
>>>> Thanks for your
>>>> keen eye though! No news from my provider either. WEIRD!
>>> What happens if you try to include it specifically? Does that work or
>>> does that give a more clear error?
>> No matter what I try, just the filename, or including the relative or
>> even full path to the include file, same error, no further specification
>> of why this happens.
>
> Hmmmz, normally I'd say there's probably another open_base_dir
> restriction in effect for the subdomain, that would mean another error
> message though... Are you sure the settings for the subdomain are the
> same as for the main one?
>
>> (Helpdesk people can be really annoying, you tell them you have a
>> working solution with include files outside httpdocs which you'd like to
>> work for subdomains as well. The reply after two working days: "You
>> can't include files outside your httpdocs on the server, that's why it's
>> not working." Sigh!!! Guns please!)
>
> Hehe, I've more then once explained a hoster how to configure Apache to
> my wishes, after being told they didn't think something was possible...
> Helpdesk ignorance is OK if they trust you enough to give them the
> education they lack :-). It's a pain if they're slow though, the bulk of
> the hosters I deal with reply within the hour.

Issue solved by changing open_basedir for the subdomains. Hosting party
have a quite standard CentOS LAMP box, but in their setup open_basedir
is set separately for subdomains. Which basically is a good thing.

Like you expected Rik, I would have guessed an open_basedir related
error message would have reared its ugly head, but appaerantly it does
not! Not sure whether this is a general rule or just something related
to my specific server setup.

I should add some nuance to the remarks about this provider. There is
one person who portrays the (unfortunately) 'typical' helpdesk mentality
(no can't do, not possible, or just plain no. Doesn't properly read
questions etc. You know the type). The others have shown a keen
understanding of the matter, usually are swift in their replies and
solutions, can handle constructive criticism, are open for sensible
suggestions, apply fixes speedily, and are always willing to be
pragmatic about all requests I make. After all, the vast majority of
their clients probably never burden them with technical stuff. On a
whole, I am quite content about them.

I pay about 10 euros a month, which isn't an incredible amount, can't
expect miracles. That said, I am always open for suggestions about good
hosting providers, preferrably in the Netherlands.

Thanks for all the suggestions and comments. Glad I got this out of the
way. One happy customer coming up today.

Regards, enjoy the weather (It's top notch here, welcome climate
change!) and have a great weekend all.

Sh.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация