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)
<?php
session_start();
print session_id();
Error message:
vn5690j2f0beqe5qd0b36m10t3PHP
Warning: Module ‘mysql’ already loaded in Unknown
on line 0 PHP Warning: session_start()
[function.session-start]:
open(C:DOCUME~1CTYLOCALS~1Tempphpuploadsess_vn5690j2f0beqe5qd0b36m10t3, O_RDWR)
failed: No such file or directory (2) in
C:ctytest.php on line 2 PHP
Warning: Unknown: open(C:DOCUME~1CTYLOCALS~1Tempphpuploadsess_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~1CTYLOCALS~1Tempphpupload)
I did check my php(using phpinfo()?
And i found that
session.save_path C:DOCUME~1CTYLOCALS~1Tempphpupload
I think is something wrong here?
this path should be C:PHPsessiondata(**when i using php4 ,it is in C:PHPsessiondata)
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?)