session_start() Function Error

I use session_start(); at the begining of my php files I just started getting the following error:

Warning: session_start() [function.session-start]: open(/home/jcinfome/tmp/sess_7c162f04e383c93866cfb3331a5665fd, O_RDWR) failed: Permission denied (13) in /home/leeq/public_html/index.php on line 3

/home/jcinfome <-- this directory isnt even mine. does anyone know how to fix this.

Thanks
Lee

That’s exactly your problem. PHP is configured to store session information in a folder on which it has no access. Try changing that in the php.ini file.

where can I find the php.ini file on my server?

I don’t know :) It’s not my server, but I’m pretty sure that whatever OS runs on it, there’ll be a search function available to you.

Sponsor our Newsletter | Privacy Policy | Terms of Service