smashmouth Posted February 20, 2010 Share Posted February 20, 2010 ok, before I was getting an error where it said could not write session function something or other. Anyways, I went into the php.ini and changed the session.save_path from C:/tmp to /tmp because I use hostgator now and not my own server. Problem is, the error is gone form the page, but when i look where the session files are saving, they are not in the /tmp folder. Any ideas on how to check this properly to make sure its working? Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/192756-phpini-help/ Share on other sites More sharing options...
jl5501 Posted February 20, 2010 Share Posted February 20, 2010 can you see /tmp on your hostgator server? It would be most unlikely that you can. the / in /tmp is not the / of your webspace, but the / for the root of the server's file system. Quote Link to comment https://forums.phpfreaks.com/topic/192756-phpini-help/#findComment-1015396 Share on other sites More sharing options...
smashmouth Posted February 20, 2010 Author Share Posted February 20, 2010 right. (I have /tmp in my main directory as well) so if the the tmp folder is in my public_html then how do I set it to save in that directory? Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/192756-phpini-help/#findComment-1015402 Share on other sites More sharing options...
jl5501 Posted February 20, 2010 Share Posted February 20, 2010 you need to know the full filesystem path to your public_html on hostgator that is likely to be /home/yourusername/public_html Quote Link to comment https://forums.phpfreaks.com/topic/192756-phpini-help/#findComment-1015413 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.