From:             webmaster at serverman dot de
Operating system: Suse 9.0
PHP version:      4.4.2
PHP Bug Type:     Session related
Bug description:  session.save_handler user

Description:
------------
Hi,
on Suse 9.0 using sassion.save_handler user and session.save_path
usr_webxx_xx leads to an open_basedir restriction.

Warning: Unknown(): open_basedir restriction in effect.File(usr_webxx_xx)
is not within the allowed path(s):

Seems as user in Php.ini is no longer recognized. Downgrading with the
same compile string to 4.3.11,  sessions are correct stored in datebase
usr_webxx_xx.

With 4.4.2 open_basedir with same vhost entries. 

Phpinfo shows correctly session.save_handlers files user mm

Reproduce code:
---------------
Try to store sessions in database with

session.save_handler user
session.save_path usr_webxx_xx  <-- standing for your database.

The used code works perfect with 4.3.11

Expected result:
----------------
Storing sessions to Database.

Actual result:
--------------
Open_basedir restrictions for files <-- although user is used

-- 
Edit bug report at http://bugs.php.net/?id=36782&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=36782&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=36782&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=36782&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=36782&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=36782&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=36782&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=36782&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=36782&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=36782&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=36782&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=36782&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=36782&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=36782&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=36782&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=36782&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=36782&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=36782&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=36782&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=36782&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=36782&r=mysqlcfg

Reply via email to