session_start error


Since ubuntu 10.04 only allowed me to use PHP 5.3 and downgrading was a pain in the****
I installed opensuse
And now i have PHP 5.2 and it works fine.

But im getting this error.

Message: session_start(): open(/var/lib/php5/sess_b186pgg995c202aoi1qlgsrikh40k600, O_RDWR) failed: Permission denied (13)

SO i think it’s an php.ini problem ( i run FastCGI )


session.save_path = "/var/lib/php5"

Is this wrong?
Anyway who can explain this problem?

i guess this folder ‘/var/lib/php5’ in ur php installation does not have write permissions

the folder to which u set the session save path, it tries to create session related files in that folder.

so, check the permission of that folder.

Sponsor our Newsletter | Privacy Policy | Terms of Service