| | |
Problem in session using php5
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Sep 2006
Posts: 10
Reputation:
Solved Threads: 0
Title: Problem in session using php5
Good day,
I use php5+mySQL4+IIS5.x
Previuosly i use php4 and no error occur,
after i uninstall php4 and install php5,
error happen.
--------------------------------
error message:
24lmnsndeh7pkibp65mttcajo7PHP 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_24lmnsndeh7pkibp65mttcajo7, 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_24lmnsndeh7pkibp65mttcajo7, 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
--------------------------------------
my code to test:
<?php
session_start();
print session_id();
?>
If i test my code in php4,is work well!but when i change to php5,it have error.
i check my php via phpinfo(); ,
i found something unnormal:
session.save_path---> C:\DOCUME~1\CTY\LOCALS~1\Temp\php\upload
What should i do?
How to setup php5+IIS5.x with the correct method?
What should i check after setup?
Hope u may provide me a good solution on y problem since i post my problem to many forums but no one able to solve.
TQ
Good day,
I use php5+mySQL4+IIS5.x
Previuosly i use php4 and no error occur,
after i uninstall php4 and install php5,
error happen.
--------------------------------
error message:
24lmnsndeh7pkibp65mttcajo7PHP 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_24lmnsndeh7pkibp65mttcajo7, 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_24lmnsndeh7pkibp65mttcajo7, 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
--------------------------------------
my code to test:
<?php
session_start();
print session_id();
?>
If i test my code in php4,is work well!but when i change to php5,it have error.
i check my php via phpinfo(); ,
i found something unnormal:
session.save_path---> C:\DOCUME~1\CTY\LOCALS~1\Temp\php\upload
What should i do?
How to setup php5+IIS5.x with the correct method?
What should i check after setup?
Hope u may provide me a good solution on y problem since i post my problem to many forums but no one able to solve.
TQ
•
•
Join Date: Jul 2004
Posts: 494
Reputation:
Solved Threads: 21
Looks like a problem with your php.ini file. The php.ini file from PHP4 is NOT compatible with PHP5.
www.uncreativelabs.net
Old computers are getting to be a lost art. Here at Uncreative Labs, we still enjoy using the old computers. Sometimes we want to see how far a particular system can go, other times we use a stock system to remind ourselves of what we once had.
Old computers are getting to be a lost art. Here at Uncreative Labs, we still enjoy using the old computers. Sometimes we want to see how far a particular system can go, other times we use a stock system to remind ourselves of what we once had.
![]() |
Similar Threads
- Updated : Simple ASP.Net Login Page (ASP.NET)
- session_start(): Cannot send session cookie - headers already sent by (PHP)
- ASP.NET - session objects Problem (ASP.NET)
- Session Variable clashing (ASP.NET)
- urgent: session timeout occurs unexpectedly(given both web.config & global.asax code) (ASP.NET)
Other Threads in the PHP Forum
- Previous Thread: Image Resizer
- Next Thread: hotlinking prevention detection
Views: 2793 | Replies: 2
| Thread Tools | Search this Thread |
Tag cloud for PHP
.htaccess access ajax apache api array beginner binary broken cakephp checkbox class cms code cron curl customizableitems database date directory display download dynamic echo email error file files folder form format forms forum function functions google headmethod href htaccess html image include insert integration ip java javascript joomla jquery limit link login loop mail malfunctioning menu methods mlm mod_rewrite multiple mysql oop parse paypal pdf php problem query radio random recursion regex remote script search select server sessions sms soap source space speed sql structure syntax system table tutorial update updates upload url validation validator variable video web xml youtube





