Problem with session in php5
Good day,
can anyone tell me how to solve my problem?
i use the php4 to test this simple code ,is work!
After i uninstall and install php5,the error occur.
---------------------------------------------
my code:
(*for testing session only)
------------------------------------------------
Error message:
Quote:
vn5690j2f0beqe5qd0b36m10t3PHP
Warning: Module 'mysql' already loaded in Unknown
on line 0 PHP Warning: session_start()
[function.session-start]:
open(C:\DOCUME~1\CTY\LOCALS~1\Temp\php\upload\sess _vn5690j2f0beqe5qd0b36m10t3, O_RDWR)
failed: No such file or directory (2) in
C:\cty\test.php on line 2 PHP
Warning: Unknown: open(C:\DOCUME~1\CTY\LOCALS~1\Temp\php\upload\sess _vn5690j2f0beqe5qd0b36m10t3, O_RDWR)
failed: No such file or directory (2) in Unknown on line 0 PHP Warning: Unknown: Failed to write session data (files).
Please verify that the current setting of session.save_path is correct (C:\DOCUME~1\CTY\LOCALS~1\Temp\php\upload)
in Unknown on line 0
|
----------------------------------------------------------
I did check my php(using phpinfo()

And i found that
session.save_path C:\DOCUME~1\CTY\LOCALS~1\Temp\php\upload
I think is something wrong here?
this path should be C:\PHP\sessiondata(**when i using php4 ,it is in C:\PHP\sessiondata)
If really is cause by this ,how i edit the php.ini?
If no,what is the problem?
I currently using php5+mysql4+IIS
Beside,can guide me to install php5?(May be is installation not correct?)