|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
sessions?
I was writting up a php script and was trying to test it on my local server i set up. However apache does not recognize the session info so it is hard for me to test the script to see if the script is having issues or if it is just apache that is giving me trouble...
is their some way to setup apache such that it will recognize sessions? Thanks |
|
#2
|
|||
|
|||
|
apache should not be the prob.
what your error logs sayin. maybe your browser?
__________________
VCR clock programmer and toaster repairman, best rates and best work around |
|
#3
|
|||
|
|||
|
it tells me the tmp does not exist?
i am using IE 6 |
|
#4
|
|||
|
|||
|
here are the errors exactly as i am getting them right now
Warning: open(/tmp\sess_f9757092b1295aa696a3a85109c0b52d, O_RDWR) failed: No such file or directory (2) in d:\apache group\apache\htdocs\nonlinear\admin\index.php on line 4 Warning: open(/tmp\sess_f9757092b1295aa696a3a85109c0b52d, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 Warning: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0 |
|
#5
|
|||
|
|||
|
Well my guess is too create the tmp directory
with proper perms |
|
#6
|
|||
|
|||
|
I tried making a tmp directory but it did not help at all....
Any thoughts? |
|
#7
|
|||
|
|||
|
One thought would be too check the php.ini file
your problem is windows related. |
|
#8
|
|||
|
|||
|
What am I looking for in the ini file?
also i can not find the php.ini did a search for it and it is nowhere on my comp...??? |
|
#9
|
|||
|
|||
|
>> What am I looking for in the ini file?
It's in /usr/local/etc.. >> also i can not find the php.ini >> did a search for it and it is nowhere on my comp...??? Haven't you rename from php.ini-dist to php.ini, yet? |
|
#10
|
|||
|
|||
|
i did a search for php.ini-dist and could not find it either
i looked in my bin directory and there are no ini's in there .... |
|
#11
|
|||
|
|||
|
ttt
any ideas? i can't figure out why the sessions won't work on my local apache server i use it soley for my own personal developement purposes |
|
#12
|
|||
|
|||
|
If you still can't find php.ini, then grab it from www.php.net and configure then put it in the right place..
|
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > sessions? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|