ID: 40443 User updated by: lawatia_mhm at yahoo dot com Reported By: lawatia_mhm at yahoo dot com Status: Bogus Bug Type: Safe Mode/open_basedir Operating System: CentOS PHP Version: 5.2.1 New Comment:
Hello dear .. any body here ?? .. 3 sites on the server can't do anything because of this problem :( .. Previous Comments: ------------------------------------------------------------------------ [2007-02-12 19:06:54] lawatia_mhm at yahoo dot com Anybody here dear ? ------------------------------------------------------------------------ [2007-02-12 10:25:21] lawatia_mhm at yahoo dot com Dear you said : Set appropriate session.save_path. Can you tell me to what do I have to write dear : ; As of PHP 4.0.1, you can define the path as: ; ; session.save_path = "N;/path" ; ; where N is an integer. Instead of storing all the session files in ; /path, what this will do is use subdirectories N-levels deep, and ; store the session data in those directories. This is useful if you ; or your OS have problems with lots of files in one directory, and is ; a more efficient layout for servers that handle lots of sessions. ; ; NOTE 1: PHP will not create this directory structure automatically. ; You can use the script in the ext/session dir for that purpose. ; NOTE 2: See the section on garbage collection below if you choose to ; use subdirectories for session storage ; ; The file storage module creates files using mode 600 by default. ; You can change that by using ; ; session.save_path = "N;MODE;/path" ; ; where MODE is the octal representation of the mode. Note that this ; does not overwrite the process's umask. ;session.save_path = "/tmp" ------------------------------------------------------------------------ [2007-02-12 10:03:15] [EMAIL PROTECTED] >The script whose uid is 32025 is not allowed to access >owned by uid 0 in Set appropriate session.save_path. ------------------------------------------------------------------------ [2007-02-12 09:55:43] lawatia_mhm at yahoo dot com Description: ------------ Dear .. When I used php 5.2.0 .. the Sound Library Script was working great with Safe mode ... But yesterday when I Upgraded to 5.2.1 the library isn't working with Safe mode ... **************************** Warning: session_start() [function.session-start]: SAFE MODE Restriction in effect. The script whose uid is 32025 is not allowed to access owned by uid 0 in /home/xxx/public_html/snd/admin/index.php on line 10 Fatal error: session_start() [<a href='function.session-start'>function.session-start</a>]: Failed to initialize storage module: files (path: ) in /home/xxx/public_html/snd/admin/index.php on line 10 ************************** How to fix the problem dear ? Notes : I disabled Safe mode .. the library worked but when I enabled it this what happened .. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40443&edit=1