hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : PHP session_start() warning
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

PHP session_start() warning

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 02-25-2002, 10:59 PM
rrsnider rrsnider is offline
Junior Guru Wannabe
 
Join Date: Nov 2001
Posts: 91

PHP session_start() warning


I am getting the following warning when I issue a session_start() in PHP. I am running omniHTTPD under windows98.

Warning: open(/tmp\sess_49c355e512d0185ad5fe8ecee06f44c7, O_RDWR) failed: m (2) in C:\wwwroot\tanningcentral\session.php on line 2
valid_user=rrsnider
Warning: open(/tmp\sess_49c355e512d0185ad5fe8ecee06f44c7, O_RDWR) failed: m (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

Thanks in advance
Bob

Reply With Quote


Sponsored Links
  #2  
Old 02-26-2002, 03:17 AM
kunal kunal is offline
Web Hosting Master
 
Join Date: Aug 2000
Posts: 2,750
Do you have a dir called tmp in your c: ?

__________________
The Php Support Desk
http://www.phpsupportdesk.com
Custom programming - kunal @ e-phoria.com
http://www.pingzine.com - Ping!Zine. the FREE, FRESH and EXCITING Web Hosting Magazine...

Reply With Quote
  #3  
Old 02-26-2002, 06:37 AM
Ahmad Ahmad is offline
Web Hosting Master
 
Join Date: Jan 2002
Location: Kuwait
Posts: 679
Go to your windows directory and find the php.ini file. Open the file and look for this line:

Code:
session.save_path = /tmp
Change it to an existant directory, like c:/windows/temp; it'll be like this:

Code:
session.save_path = c:/windows/temp

__________________
Ahmad Alhashemi
PHP, Apache, C, Python, Perl, SQL
18 related BrainBench certificates

Reply With Quote
Sponsored Links
Reply

Related posts from TheWhir.com
Title Type Date Posted
Learn How to Scale Your Business - Join Us In Wednesday’s Webinar Blog 2011-12-06 20:29:17
Attend Today’s Cloud Security Webinar with Dome9 Blog 2011-10-11 14:54:27
Sign up for Thursday’s Dell Webinar on Right-Sizing IT for Density and Profit Blog 2011-09-20 21:27:44
Join Tomorrow’s Webinar on OpenStack and Dell’s Crowbar Blog 2011-08-24 22:12:52
HostingCon Day 1 Blog 2011-08-08 22:53:21


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?