RE: [PHP] Apache configuration

From: Date: Wed, 11 Apr 2001 15:02:06 +0000
Subject: RE: [PHP] Apache configuration
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-48171@lists.php.net to get a copy of this message
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: php-general-return-48155-alexisantonakis=compuserve.com@lists.php.net [mailto:php-general-return-48155-alexisantonakis=compuserve.com@lists.ph 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: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' ********************************************************************** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#48171) next »