Session configuratin with W2K and Apache

Forum for you who has PHP installation issues

Moderators: macek, egami, gesf

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

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

User avatar
Oleg Butuzov
Last Samuray
Last Samuray
Posts: 831
Joined: Sun Jun 02, 2002 3:09 am

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...

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

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

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

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

It works :D

Thanks alots

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

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

rhkor wrote:It works :D

Thanks alots

youre welcome :wink:


Return to “PHP Installation”

Who is online

Users browsing this forum: No registered users and 1 guest