Difference between revisions of "Session save path"

From Joomla! Documentation

(Changed status to under construction)
Line 11: Line 11:
  
 
We need to make this directory writable C:\DOCUME~1\username\LOCALS~1\Temp\php\session.
 
We need to make this directory writable C:\DOCUME~1\username\LOCALS~1\Temp\php\session.
 +
 +
 +
On Linux Systems the php.ini will probably use /tmp folder. <br>
 +
If you do not want to make the whole folder writable you can change the php.ini setting to<br>
 +
e. g. /tmp/joomla<br>
 +
and creating that new folder by typing (as root)<br>
 +
mkdir -m 777 /tmp/joomla

Revision as of 15:32, 16 June 2009

Documentation all together tranparent small.png
Under Construction

This article or section is in the process of an expansion or major restructuring. You are welcome to assist in its construction by editing it as well. If this article or section has not been edited in several days, please remove this template.
This article was last edited by Vangogh (talk| contribs) 14 years ago. (Purge)

Session save path : Unwriteable

Solution:

Find the file php.ini, this is located in the same director as the installation of PHP

Open the file in a text editor and find session.savepath, this will look like :

session.save_path="C:\DOCUME~1\username\LOCALS~1\Temp\php\session"

We need to make this directory writable C:\DOCUME~1\username\LOCALS~1\Temp\php\session.


On Linux Systems the php.ini will probably use /tmp folder.
If you do not want to make the whole folder writable you can change the php.ini setting to
e. g. /tmp/joomla
and creating that new folder by typing (as root)
mkdir -m 777 /tmp/joomla