Re: not sure, what now
| From: | Rory Browne | Date: | Sat, 25 Feb 2006 22:49:48 +0000 |
| Subject: | Re: not sure, what now | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-231072@lists.php.net to get a copy of this message | ||
On 2/25/06, Schalk <schalk@volume4.com> 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
Is there a .php tld?
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!*
Make a phpinfo file(google for phpinfo), and check it for a configureation
path. It will probably be something like /etc/php.ini or /etc/php/php.ini,
or /this/that/something/else/php.ini. Open up this php.ini file and check
for the open_basedir