[Solved] PHP Settings Problem? - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Development Area (/forum-1.html) +--- Forum: General discussion (/forum-11.html) +--- Thread: [Solved] PHP Settings Problem? (/thread-964.html) |
[Solved] PHP Settings Problem? - adigit - 07-13-2007 11:36 AM 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... RE: PHP Settings Problem? - adigit - 07-13-2007 11:45 AM it happens after installing the following: http://2bits.com/articles/benchmarking-apc-vs-eaccelerator-using-drupal.html http://www.lullabot.com/articles/how_install_memcache_debian_etch RE: PHP Settings Problem? - raphael - 07-13-2007 12:38 PM 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 RE: PHP Settings Problem? - adigit - 07-13-2007 03:09 PM 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)? RE: PHP Settings Problem? - raphael - 07-14-2007 03:18 AM 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 RE: PHP Settings Problem? - adigit - 07-14-2007 04:07 PM 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. |