Asked 7 years ago
5 Jul 2017
Views 1116
Phpworker

Phpworker posted

session_start() cause error


Warning: session_start(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s)
Fatal error: session_start(): Failed to initialize storage module: files (path: )


it is working with my other server but i moved to new server and it start break the code.

dont what is wrong with session_start() in php ?

answered Nov 30 '-1 00:00

check tmp directory available for session write . or check the permission for that directory
Post Answer