Codeigniter not working in IIS Codeigniter not working in IIS codeigniter codeigniter

Codeigniter not working in IIS


Here’s a fix that worked for me:

  • Open php.ini
  • Set: session.save_path = C:\inetpub\temp\sessions
  • Create C:\inetpub\temp\sessions and give IUSR and NETWORK SERVICE(or whatever is the identity of app pool) full rights.
  • Save php.ini

This was a good reference: http://forums.iis.net/post/1735092.aspx


give config.php

$config['sess_save_path'] = 'writable absolute path';


this worked for me make changes on some places .user.ini which is in httpdocs,type there session.save_path = 'C:\your dir' then in config.php change the session.save_path ='null' to the above dir and make same changes on php settings set the session.save_path to the above dir