RE: [PHP] Apache configuration

From: Date: Wed, 11 Apr 2001 13:13:53 +0000
Subject: RE: [PHP] Apache configuration
Groups: php.general 
Request: Send a blank email to php-general+get-48155@lists.php.net to get a copy of this message
/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:alexisantonakis@compuserve.com] 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' **********************************************************************

« previous php.general (#48155) next »