Zend_Session Error (ps_files_cleanup_dir)

While running your Zend Framework application, if you receive an error that looks like :

Zend_Session::start() – D:\Web\library\Zend\Session.php(Line:426): Error #8 session_start() [function.session-start]: ps_files_cleanup_dir: opendir(C:\Windows\TEMP\) failed: No such file or directory (2) Array

The solution is:

1. Edit your php.ini file and set your save_path variable to a physical folder on your computer
session.save_path = “D:\Web\session”

2. Remember to give the IIS_IUSRS builtin group R/W permission to the folder

3. Restart the webserver

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s