#19292 [Ctl->Ver]: random error: open_basedir restriction in effect. File is in wrong directory

From: Date: Thu, 10 Oct 2002 10:05:18 +0000
Subject: #19292 [Ctl->Ver]: random error: open_basedir restriction in effect. File is in wrong directory
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-22026@lists.php.net to get a copy of this message
ID: 19292 Updated by: ck@php.net Reported By: tnowak@triger.com.pl -Status: Critical +Status: Verified Bug Type: Apache related Operating System: linux PHP Version: 4.2.3 New Comment: Same here, yet only on one of four production boxes. Error randomly pops up, and is gone after reloading (seems to be only one apache child at a time is effected). Seems like the error occurs for all functions using file i/o, mainly include() in our case. Previous Comments: ------------------------------------------------------------------------ [2002-10-09 13:13:09] rasmus@php.net Could someone please check if this is still a problem in current CVS? ------------------------------------------------------------------------ [2002-10-05 19:28:45] wez@php.net Keep it critical. ------------------------------------------------------------------------ [2002-10-05 10:43:37] list@firehawksystems.com I just checked in a change to the open_basedir check. I don't think it is a fix for your problems, but it could be. Please try using this CVS snapshot on a non-production machine: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip Thanks, Brian ------------------------------------------------------------------------ [2002-10-02 13:03:09] aw@imos.net Now with an other error message Warning: Unknown(): open_basedir restriction in effect. File is in wrong directory in Unknown on line 0 Warning: Unknown(/opt/webfarm/www.spypen.com/pic_fullsize_window.phtml): failed to create stream: Operation not permitted in Unknown on line 0 Warning: Failed opening '/opt/webfarm/www.spypen.com/pic_fullsize_window.phtml' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0 One more Info: I was running apache1.3.26 + php-4.0.6 + mod_ssl-2.8.3-1.3.26 + openssl-0.9.6b for a long time without any problems. The only thing I changed was an upgrade to openssl-0.9.6g. ------------------------------------------------------------------------ [2002-10-02 06:21:54] sniper@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/19292 -- Edit this bug report at http://bugs.php.net/?id=19292&edit=1

« previous php.bugs (#22026) next »