/    Sign up×
Community /Pin to ProfileBookmark

open base url question

Hi, on my website I use this kind of path (/var/www/vhosts/mydomain.com/httpdocs/includes/footer.php)

I went to use this same path on a subdomain, and ran into this error.
How can I fix it?

[COLOR=#545c66][FONT=Tahoma][Wed Oct 01 20:11:36 2008] [error] [client xx.xx.xx.xx] PHP Warning: require() [<a href=’function.require’>function.require</a>]: open_basedir restriction in effect. File(/var/www/vhosts/mydomain.com/httpdocs/includes/render_time_start.php) is not within the allowed path(s): (/var/www/vhosts/mydomain.com/subdomains/songlists/httpdocs:/tmp)[/FONT][/COLOR]

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@ariellOct 02.2008 — what do your appache settings say regarding virtual hosts? Do they really treat SUBdomains like domains subordinated to your (main) domain?
Copy linkTweet thisAlerts:
@comptech520authorOct 02.2008 — I was referring to my php.ink file

What van I do to fix this?

Thanks
×

Success!

Help @comptech520 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.13,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,
)...