i was set new individual folder for saving session
values,the folder name is session and i set 777
permission,using session.save_path function like
session.save_path
"/home21b/sub004/sc21311-ULCX/candyoflove.com/session/" but
it causing Warning: Unknown(): SAFE MODE Restriction in
effect. The script whose uid/gid is 12112/12112 is not
allowed to access
/home21b/sub004/sc21311-ULCX/candyoflove.com/session owned
by uid/gid 12267/12267 in Unknown on line 0 ,please tell
what changes make this script, i was using .htaccesss
file..plz help me....



i was set new individual folder for saving session values,the folder name is session and i set 777 ..

Answer / amitverma

I think you also need to change the following value(s) in
PHP.INI file -

safe_mode_gid
safe_mode_include_dir
safe_mode_exec_dir

Setting these directives appropriately, you can pass over
these difficulties..

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

Explain me what is the use of header() function in php?

0 Answers  


where to change in php.ini file for file uploading?

1 Answers  


What is lazy loading in php?

0 Answers  


Define anonymous classes in php7?

0 Answers  


What are the options to transfer session ids?

0 Answers  






How can MYSQL functions be available with PHP?

0 Answers  


What is strlen php?

0 Answers  


What is the current php version?

0 Answers  


How will you sened requests from server1 to server2 from server2 to server3 and so on .. w/o letting the output come to the browser or say the client end in php

3 Answers   Swayam, TCS, Yahoo,


What is difference between single quotes and double quotes in php?

0 Answers  


How to upload and play video in Php when u r in localhost?

3 Answers   HCL,


What is array and function?

0 Answers  


Categories