ID: 15302 Comment by: phynias at completeobscurity dot com Reported By: fox at murder dot cz Status: Bogus Bug Type: Scripting Engine problem Operating System: FreeBSD 4.4 PHP Version: 4.1.1 New Comment:
I also get this error. I have even tried the 'php_admin_value open_basedir none' It seems to me it uses the last virtual server as a global for all servers, but only randomly. For me it's around 1 in ever 10 tries ends up like this. config: ./configure --with-apxs=/etc/httpd/bin/apxs --with-openssl --with-mysql=/usr/local/mysql --with-zlib=yes --with-jpeg-dir=../jpeg- 6b --enable-pcntl --enable-cli --enable-versioning --enable-ftp --enable-bcmath --enable-memory-limit=yes --enable-track-vars --with -ttf --with-png-dir=../libpng --with-gd --enable-gd-imgstrttf --enable-gd-native-ttf --with-curl=/usr/local/include/ Previous Comments: ------------------------------------------------------------------------ [2003-03-11 00:45:50] adam dot rozewicki at lo dot pl I also have the same problem! FreeBSD 4.5 PHP 4.3.0 apache 1.3.27 './configure' '--enable-track-vars' '--enable-force-cgi-redirect' '--with-dbase' '--with-gettext' '--with-apxs=/usr/local/apache/bin/apxs' '--with-openssl' '--with-gd' '--with-zlib' '--with-mysql=/usr/local/mysql' '--enable-ftp' ------------------------------------------------------------------------ [2003-02-28 15:06:04] pmack at cw dot net I also have this issue with PHP 4.3.1 My Config is: './configure' '--with-mysql' '--with-apxs=/usr/sbin/apxs' '--with-gd' '--with-jpeg-dir=../jpeg-6b' '--with-zlib-dir=../jpeg-6b' Linux 2.2.19 Any ideas on how to fix this other than to remove all the lines? ------------------------------------------------------------------------ [2003-02-28 15:06:04] pmack at cw dot net I also have this issue with PHP 4.3.1 My Config is: './configure' '--with-mysql' '--with-apxs=/usr/sbin/apxs' '--with-gd' '--with-jpeg-dir=../jpeg-6b' '--with-zlib-dir=../jpeg-6b' Linux 2.2.19 Any ideas on how to fix this other than to remove all the lines? ------------------------------------------------------------------------ [2002-12-19 17:34:13] tonyhana_nospam_ at lvcm dot com Yeah Im getting the same internmittent problem here.. under FreeBSD monster.phatservers.com 4.7-STABLE FreeBSD 4.7-STABLE #0: Sun Nov 24 00:06:33 PST 2002 PHP 4.2.3 Also using Plesk..and Zend optimizer './configure' '--with-apxs=/usr/local/psa/apache/bin/apxs' '--prefix=/usr/local/psa/apache' '--with-system-regex' '--with-config-file-path=/usr/local/psa/apache/conf' '--disable-debug' '--enable-pear' '--enable-sockets' '--enable-track-vars' '--with-gd' '--with-mysql=/usr/local/psa/mysql' '--with-iodbc' '--with-pam' '--with-kerberos' '--with-zend' '--with-imap' '--with-curl' '--with-freetype-dir=/usr/local/include/freetype2' ------------------------------------------------------------------------ [2002-10-14 00:34:19] bin at entertainz dot co dot nz Note the original author said 'randomly' - I am also experiencing this problem with some scripts under 4.2.3. 95% of the time they run fine and echo text to the screen, but occasionally will fail with this error: Warning: open_basedir restriction in effect. File is in wrong directory in Unknown on line 0 ------------------------------------------------------------------------ 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/15302 -- Edit this bug report at http://bugs.php.net/?id=15302&edit=1