ID: 38670
User updated by: serokka at hrn dot ru
Reported By: serokka at hrn dot ru
-Status: No Feedback
+Status: Open
Bug Type: *Configuration Issues
Operating System: FreeBSD 4.10
PHP Version: 4.4.4
New Comment:
With the latest snapshot we have the same problem.
Previous Comments:
------------------------------------------------------------------------
[2006-09-14 01:00:01] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2006-09-06 09:56:22] tony2001@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2006-08-31 12:29:21] serokka at hrn dot ru
Description:
------------
I got a problem with open_basedir between Apache's (2.0.55) virtual
hosts.
This error appeared in 4.4.x branch!
PHP 4.3.11 does NOT have this error.
----------------------------------------
Warning: Unknown(): open_basedir restriction in effect.
File(/pub/home/xxxxxxx/tmp) is not within the allowed path(s):
(/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/php/lib/php:/usr/local/mysql/bin:/pub/home/yyyyyyyy)
in Unknown on line 0
----------------------------------------
This is very serious bug and it stops us from using PHP 4.4.x
Reproduce code:
---------------
<VirtualHost aaa.aaa.aaa.aaa:80>
..............
php_admin_value doc_root '/pub/home/xxxxxxx'
php_admin_value upload_tmp_dir '/pub/home/xxxxxxx/tmp'
php_admin_value session.save_path '/pub/home/xxxxxxx/tmp'
php_admin_value open_basedir
'/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/php/lib/php:/usr/local/
mysql/bin:/pub/home/xxxxxxx'
..............
</VirtualHost>
<VirtualHost aaa.aaa.aaa.aaa:80>
..............
php_admin_value doc_root '/pub/home/yyyyyyyy'
php_admin_value upload_tmp_dir '/pub/home/yyyyyyyy/tmp'
php_admin_value session.save_path '/pub/home/yyyyyyyy/tmp'
php_admin_value open_basedir
'/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/php/lib/php:/usr/local/
mysql/bin:/pub/home/yyyyyyyy'
..............
</VirtualHost>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=38670&edit=1