Re: not sure, what now

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Find your php.ini and read it.

Actually, find your httpd.conf and read it, because you can change
JUST DocumentRoot in httpd.conf, and not move any files around.

'Course, you'll have to put the files back, but you won't have to
change any of the paths embedded in the PHP web application.

On Sat, February 25, 2006 4:22 pm, Schalk wrote:
> Greetings All,
>
> I am pretty new to PHP and are tasked to move a clients site from:
>
> www.domain.com/somedirectory/home.php to www.home.php
>
> Sounds simple at first but, when I moved the files to the root of the
> httpdocs I get an array of errors in the vain of:
> *Warning*: main(): open_basedir restriction in effect.
> File(../inc/siteconfig.php) is not within the allowed path(s):
> (/home/httpd/vhosts/sealbeachprofessionals.com/httpdocs:/tmp) in
> /home/httpd/vhosts/sealbeachprofessionals.com/httpdocs/home.php on
> line 1
>
> What exactly does this mean? I am sure there must be a config
> somewhere
> that has set it up to load from the sub directory and now it prevents
> it
> from loading from the root directory. Is this correct? What exactly
> does
> this error mean? Thanks to all!*
> *
>
> --
> Kind Regards
> Schalk Neethling
> Web Developer.Designer.Programmer.President
> Volume4.Business.Solution.Developers
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux