To be more specific:
Based on error message you posted:
#Start from server root:
include($_SERVER['DOCUMENT_ROOT'].'/inc/siteconfig.php');
Hth,
gl, M
On Feb 25, 2006, at 7:31 PM, Michael Hulse wrote:
Try changing all includes that look like this:
include('/folder/file.php');
... to this:
On Feb 25, 2006, at 2:22 PM, Schalk wrote:
*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
li
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,
> Where is Open_basedir set? In a global php setting or can it be done
> site by site? And if so, what is the most logical place to put the file
> that controls this?
It's set by apache and unless you have root access you don't have any
control over it.
Re-read the error message, php tells you al
chris smith wrote:
On 2/26/06, Schalk <[EMAIL PROTECTED]> 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
If you're moving a clients site wouldn't your work be a better place
to ask? They w
On 2/26/06, Schalk <[EMAIL PROTECTED]> 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
If you're moving a clients site wouldn't your work be a better place
to ask? They will have processes etc
On 2/25/06, Schalk <[EMAIL PROTECTED]> 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
7 matches
Mail list logo