| Joomla! http://forum.joomla.org/ |
|
| Selectable /tmp folder? http://forum.joomla.org/viewtopic.php?f=32&t=10108 |
Page 1 of 1 |
| Author: | Lexxuk [ Mon Oct 03, 2005 6:58 pm ] |
| Post subject: | Selectable /tmp folder? |
My ISP for the sake of security has altered the cgi server, moved it over to Debian. This throws up problems with Joomla in that it has permissions problems with /tmp To solve this I had to edit a few files from where: session_start() Starts, to placing before it: session_save_path("/files/home1/dgwebb/tmp"); Naturally having created the tmp folder in my root folder first. I'm unsure if there is currently a short cut fix to alter the location of the /tmp directory, I could not find anything about it in the config file, but for the sake of ease, would it be possible to add a config where you can choose your own /tmp? |
|
| Author: | Robin [ Tue Oct 04, 2005 6:35 am ] |
| Post subject: | Re: Selectable /tmp folder? |
Hi, You could try solving it with a .htaccess file in your root. Create a directory called tmp or whatever and give it all permissions 777. Then add something like this to your .htaccess file. php_value session.save_path "/home/yourusername/tmp" Maybe this will work for you. Searched on the forums, thats where I came accross this solution. |
|
| Author: | Chris [ Sun Oct 09, 2005 7:15 am ] |
| Post subject: | Re: Selectable /tmp folder? |
Coming to this thread with the same problem, I would like to know Lexxuk if he did apply this and if so, did it work.
|
|
| Author: | Lexxuk [ Sun Oct 09, 2005 11:38 am ] |
| Post subject: | Re: Selectable /tmp folder? |
I used Ultraedit32 to search all the files for session_start(), added the new line pointing sessions to my own tmp folder, which I'd made and chmod 777. I believe it was in only 6-7 files. |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|