Re: [PHP] permissions issue under NT?

2002-05-07 Thread Dan Hardiker

 Help. I've managed to hose myself. I had this page working fine until I
  went in and screwed up my users under NT4. I can't backtrack and
 figure out  what I changed. Can anyone point me in the right direction?
 Is this a  permissions issue? Thanks.

Ok, sorry if Im gonna sound a little blunt, but the following error message
looks rather obvious to me.

 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

Open your php.ini file and change session.save_path from /tmp
to c:/temp (or where-ever you wish it to go)

-- 
Dan Hardiker [[EMAIL PROTECTED]]
ADAM Software  Systems Engineer
First Creative Ltd



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] permissions issue under NT?

2002-05-07 Thread Jason Wong

On Tuesday 07 May 2002 21:30, Dan Hardiker wrote:
 Ok, sorry if Im gonna sound a little blunt, but the following error message
 looks rather obvious to me.

  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

 Open your php.ini file and change session.save_path from /tmp
 to c:/temp (or where-ever you wish it to go)

Plus a quick search of the archives would reveal that the same question was 
answered just yesterday.

-- 
Jason Wong - Gremlins Associates - www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *

/*
Patch griefs with proverbs.
-- William Shakespeare, Much Ado About Nothing
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] permissions issue under NT?

2002-05-07 Thread brent

At 02:30 PM 5/7/02 +0100, you wrote:
  Help. I've managed to hose myself. I had this page working fine until I
   went in and screwed up my users under NT4. I can't backtrack and
  figure out  what I changed. Can anyone point me in the right direction?
  Is this a  permissions issue? Thanks.

Dan - It seemed pretty obvious to me too, but again, the ini file hasn't 
changed since the whole thing worked. What has changed are the permissions 
under NT. I've tried changing the /tmp permissions, but the combinations 
are considerable, and I don't have time to try them all. I was hoping 
someone could point me in the right direction.

Thanks.

Ok, sorry if Im gonna sound a little blunt, but the following error message
looks rather obvious to me.

  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

Open your php.ini file and change session.save_path from /tmp
to c:/temp (or where-ever you wish it to go)

--
Dan Hardiker [[EMAIL PROTECTED]]
ADAM Software  Systems Engineer
First Creative Ltd



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] permissions issue under NT?

2002-05-07 Thread Jason Wong

On Tuesday 07 May 2002 21:58, brent wrote:
 At 02:30 PM 5/7/02 +0100, you wrote:
   Help. I've managed to hose myself. I had this page working fine until I
went in and screwed up my users under NT4. I can't backtrack and
   figure out  what I changed. Can anyone point me in the right direction?
   Is this a  permissions issue? Thanks.

 Dan - It seemed pretty obvious to me too, but again, the ini file hasn't
 changed since the whole thing worked. What has changed are the permissions
 under NT. 

Never mind the ini file. Your problem is that php can't write to /tmp, Dan 
was just suggesting another way to deal with it.

 I've tried changing the /tmp permissions, but the combinations
 are considerable, and I don't have time to try them all. I was hoping
 someone could point me in the right direction.

Set it world readable/writeable?

-- 
Jason Wong - Gremlins Associates - www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *

/*
And on the eighth day, we bulldozed it.
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] permissions issue under NT?

2002-05-07 Thread Dan Hardiker

 Dan - It seemed pretty obvious to me too, but again, the ini file
 hasn't  changed since the whole thing worked. What has changed are the
 permissions  under NT. I've tried changing the /tmp permissions, but
 the combinations  are considerable, and I don't have time to try them
 all. I was hoping  someone could point me in the right direction.

/tmp doesnt exist under windows - thats a unix path. Try changing it to a
path that does exist. I dont use windows so you will have to try one of the
following (assuming the dir you want it c:\temp\)

  c:\\temp
  c:\temp
  c:/temp

One of those should work... I dont know if you need to escape php.ini
values (hence the \\ and \ options).

-- 
Dan Hardiker [[EMAIL PROTECTED]]
ADAM Software  Systems Engineer
First Creative Ltd



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] permissions issue under NT?

2002-05-07 Thread Stuart Dallas

Jason Wong [EMAIL PROTECTED] wrote:
 I've tried changing the /tmp permissions, but the combinations
 are considerable, and I don't have time to try them all. I was hoping
 someone could point me in the right direction.

 Set it world readable/writeable?

Oooh, nasty. That should be your last option. Assuming you're using a
default install of IIS, PHP will run under the IUSR_machine user. Give that
user full access to the tmp directory and you should be ok. If that does not
work then take Jason's advice.

If you're using apache then I can't really help but I would guess that it's
a similar situation.

--
Stuart


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php