Problem solved, it turned out I had two php.ini files, one for PHP3 on my c
drive and one for PHP4 on my d drive.

Many thanks to all who replied

Alexis

-----Original Message-----
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
p.net]On Behalf Of Jon Haworth
Sent: 11 April 2001 14:14
To: Php-General@Lists. Php. Net
Subject: RE: [PHP] Apache configuration



/tmp is the directory used on Unix systems to store session info. On a
windows box you will need to change it to something like c:\temp or
c:\apache\sessions. IIRC it's in your php.ini file, not httpd.conf.

HTH
Jon


-----Original Message-----
From: Alexis Antonakis [mailto:[EMAIL PROTECTED]]
Sent: 11 April 2001 12:56
To: Php-General@Lists. Php. Net
Subject: [PHP] Apache configuration


Hi,

I am having problems in trying to configure Apache on my PC correctly.

FYI I am using Win95 and PHP4.

I have configured Apache so that it will run PHP scripts, however when I try
to start a session I get the following messages:
---
Warning: open(/tmp\sess_20e483a01d217181f5379858afee4cf4, O_RDWR) failed: m
(2) in d:\apache\htdocs\session.php on line 2

Warning: open(/tmp\sess_20e483a01d217181f5379858afee4cf4, 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
----

I can see that the script cannot locate the '/tmp' directory.  What my
question is where does this '/tmp' directory need to be created and do I
need to update the 'httpd.conf' file accordingly, and if so where within it?

Many thanks
Alexis


**********************************************************************
'The information included in this Email is of a confidential nature and is
intended only for the addressee. If you are not the intended addressee,
any disclosure, copying or distribution by you is prohibited and may be
unlawful. Disclosure to any party other than the addressee, whether
inadvertent or otherwise is not intended to waive privilege or
confidentiality'

**********************************************************************

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to