Current time: 12-24-2024, 10:43 AM Hello There, Guest! (LoginRegister)


Post Reply 
[Solved] PHP Settings Problem?
Author Message
adigit Offline
Junior Member
*

Posts: 68
Joined: Apr 2007
Reputation: 0
Post: #1
[Solved] PHP Settings Problem?
Warning: mkdir() [function.mkdir]: open_basedir restriction in effect. File(/home2/xxxuser/public_html/bbs/./attachments/month_0707) is not within the allowed path(s): (/var/www/virtual/xxxuser.com/:/usr/share/php/) in /var/www/virtual/xxxuser.com/htdocs/bbs/include/post.func.php on line 108

please help to find out what problem there is? Thanks a lot! urgent...
(This post was last modified: 07-14-2007 04:09 PM by adigit.)
07-13-2007 11:36 AM
Visit this user's website Find all posts by this user Quote this message in a reply
adigit Offline
Junior Member
*

Posts: 68
Joined: Apr 2007
Reputation: 0
Post: #2
RE: PHP Settings Problem?
it happens after installing the following:

http://2bits.com/articles/benchmarking-a...rupal.html

http://www.lullabot.com/articles/how_ins...ebian_etch
(This post was last modified: 07-13-2007 11:45 AM by adigit.)
07-13-2007 11:45 AM
Visit this user's website Find all posts by this user Quote this message in a reply
raphael Offline
Member
***

Posts: 474
Joined: Apr 2007
Reputation: 8
Post: #3
RE: PHP Settings Problem?
adigit Wrote:File(/home2/xxxuser/public_html/bbs/./attachments/month_0707) is not within the allowed path(s): (/var/www/virtual/xxxuser.com/:/usr/share/php/)

it's self-explained
07-13-2007 12:38 PM
Visit this user's website Find all posts by this user Quote this message in a reply
adigit Offline
Junior Member
*

Posts: 68
Joined: Apr 2007
Reputation: 0
Post: #4
RE: PHP Settings Problem?
sorry. would you tell how to tune this? I haven't met such problem with the old server which using webmin or ispconfig!

how to set the allowed path(s)?
(This post was last modified: 07-13-2007 05:58 PM by adigit.)
07-13-2007 03:09 PM
Visit this user's website Find all posts by this user Quote this message in a reply
raphael Offline
Member
***

Posts: 474
Joined: Apr 2007
Reputation: 8
Post: #5
RE: PHP Settings Problem?
edit that domain's php.ini file (/var/www/fcgi/domain.tld/php[4|5]/php.ini) and add
/home2/xxxuser/public_html/
to the open_basedir setting
07-14-2007 03:18 AM
Visit this user's website Find all posts by this user Quote this message in a reply
adigit Offline
Junior Member
*

Posts: 68
Joined: Apr 2007
Reputation: 0
Post: #6
RE: PHP Settings Problem?
thanks for your timely reply, raphael, i almost change back to ispconfig again!

found out it's not the problem of PHP, it's some old cache that caused the error.
07-14-2007 04:07 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)