UK WEB HOSTING FORUM FOR DISCUSSION ON WEB HOSTING SERVICE AND SUPPORT
LINUX HOSTING WINDOWS HOSTING PACKAGES SHOPPING CART OSCOMMERCE ZEN CART AGORA
ECOMMERCE HOSTING ASP MSSQL FRONTPAGE HOSTING PHP MYSQL HOSTING DISCUSSION FORUM
CPANEL RESELLER HOSTING DEDICATED SERVER VPS HOSTING PLESK VIRTUOZZO
Quick Search
Your forum announcement here!

  UK Web Hosting | Dedicated Server Windows and Linux VPS Forum > Web Hosting and Domains > PHP Hosting

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-12-2006, 12:10
cty cty is offline
Junior Member
 
Join Date: Dec 2006
Posts: 5
Default Problem in session using PHP5

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

Last edited by cty : 09-12-2006 at 12:12.
Reply With Quote
  #2 (permalink)  
Old 09-12-2006, 12:34
eUKhost.com's Avatar
Chief Marketing Officer
 
Join Date: Sep 2005
Posts: 4,261
Send a message via AIM to eUKhost.com Send a message via MSN to eUKhost.com
Default

session.save_path---> C:\DOCUME~1\CTY\LOCALS~1\Temp\php\upload

This directory should have read, write and execute permissions for all users. Make this changes and it should solve your problems.
__________________
UK Web Hosting || Business Hosting || eUKhost Knowledgebase
Toll Free : 0808 262 0255 || MSN : mark @ eukhost.com || AIM : eukmark
A bunch of Sheep led by a Lion is better than a bunch of Lions led by a Sheep.
__________________________________________________

Great Opportunity :: Join our Affiliate Program for FREE and earn 20% commission on each referral.
Reply With Quote
  #3 (permalink)  
Old 12-12-2006, 02:47
cty cty is offline
Junior Member
 
Join Date: Dec 2006
Posts: 5
Default not understand

Good day,
please tell me step by step what should i do?
Reply With Quote
  #4 (permalink)  
Old 12-12-2006, 09:41
eUKhost.com's Avatar
Chief Marketing Officer
 
Join Date: Sep 2005
Posts: 4,261
Send a message via AIM to eUKhost.com Send a message via MSN to eUKhost.com
Default

What I mentioned in my previous post was given to me by one of our windows system admins and our technical team works through our helpdesk only.

They will need RDP access to your windows server to make this changes but they cannot do this as you are not an existing customer of eUKhost.
__________________
UK Web Hosting || Business Hosting || eUKhost Knowledgebase
Toll Free : 0808 262 0255 || MSN : mark @ eukhost.com || AIM : eukmark
A bunch of Sheep led by a Lion is better than a bunch of Lions led by a Sheep.
__________________________________________________

Great Opportunity :: Join our Affiliate Program for FREE and earn 20% commission on each referral.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 16:20.

 

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by Web Hosting 3.1.0
Copyright © 2001-2008, eUKhost.com. All rights reserved.

 
Site Map

knowledgebase articles

popular blog categories