title: apache won't set session
body: <p>On my mac, i installed xampp. for some reason my localhost site i'm developing refuses to set sessions.</p>
  
  <p>in my php.ini located at <code>/Applications/XAMPP/xamppfiles/etc</code> i have this</p>
  
  <pre><code>[Session]
  ; Handler used to store/retrieve data.
  ; http://php.net/session.save-handler
  session.save_handler=files
  
  ; Argument passed to save_handler.  In the case of files, this is the path
  ; where data files are stored. Note: Windows users have to change this
  ; variable in order to use PHP's session functions.
  ;
  ; The path can be defined as:
  ;
  ;     session.save_path = "N;/path"
  
  session.save_path="/Applications/XAMPP/xamppfiles/temp"
  </code></pre>
  
  <p>i've checked the <code>/temp</code> folder and the permission is set to 777</p>
  
  <p>then i type <code>php -i |grep session.save</code> in my terminal i get this</p>
  
  <pre><code>session.save_handler =&gt; files =&gt; files
  session.save_path =&gt; no value =&gt; no value
  </code></pre>
  
  <p>any idea why i can't set sessions?</p>