Board index   FAQ   Search  
Register  Login
Board index PHP PHP Installation

Session configuratin with W2K and Apache

Forum for you who has PHP installation issues

Moderators: macek, egami, gesf

Session configuratin with W2K and Apache

Postby rhkor » Tue Dec 17, 2002 2:36 pm

Good evening

I tryed to work with Sessions, but it woud not work on my Computer.
I have a W2K Computer with Apache 1.3.20.
Then Errormassages is the following:
Warning: open(\tmp\sess_17d4a27a15991353a273c9502f4d6378, O_RDWR) failed: m (2) in i:\homepages\sockenwelt.ch\eshop\index.php4 on line 12

Line 12 is where I want to register the session.
if I put the code on the Webspace then it works.

What do I have to configure that it works also an my Computer

Thanks for all help

RHkor
rhkor
New php-forum User
New php-forum User
 
Posts: 2
Joined: Tue Dec 17, 2002 1:57 pm
Location: Swiss

Postby Oleg Butuzov » Wed Dec 18, 2002 2:30 am

php.ini

session.save_path = C:\internet\localhost\sessiondata ; argument passed to save_handler

C:\internet\localhost\ - this is my web server parth...
Oleg Butuzov
Last Samuray
Last Samuray
 
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am

Re: Session configuratin with W2K and Apache

Postby WiZARD » Wed Dec 18, 2002 2:55 am

rhkor wrote:Good evening

I tryed to work with Sessions, but it woud not work on my Computer.
I have a W2K Computer with Apache 1.3.20.
Then Errormassages is the following:
Warning: open(\tmp\sess_17d4a27a15991353a273c9502f4d6378, O_RDWR) failed: m (2) in i:\homepages\sockenwelt.ch\eshop\index.php4 on line 12

Line 12 is where I want to register the session.
if I put the code on the Webspace then it works.

What do I have to configure that it works also an my Computer

Thanks for all help

RHkor

Try set correct path to php.ini for session temporary dir
User avatar
WiZARD
Moderator
Moderator
 
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol

Postby rhkor » Wed Dec 18, 2002 2:17 pm

It works :D

Thanks alots
rhkor
New php-forum User
New php-forum User
 
Posts: 2
Joined: Tue Dec 17, 2002 1:57 pm
Location: Swiss

Postby WiZARD » Wed Dec 18, 2002 11:46 pm

rhkor wrote:It works :D

Thanks alots

youre welcome :wink:
User avatar
WiZARD
Moderator
Moderator
 
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol


Return to PHP Installation

Who is online

Users browsing this forum: No registered users and 2 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.