Re: Session problems: "Warning: write failed: Disk quota exceeded"

From: Date: Thu, 22 Aug 2002 02:30:57 +0000
Subject: Re: Session problems: "Warning: write failed: Disk quota exceeded"
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-113560@lists.php.net to get a copy of this message
G'day, Most likely they haven't pointed it to the right place (or maybe permissions? Doubt it would give this error for that). Session information is usually stored in /tmp on the hosting server (and on unix servers /tmp is actually a disk partition with a set size). There are a lot of applications on a hosting server that might use /tmp to store temporary files, so I suppose it is possible that something has filled /tmp up and PHP simply can't write to it because there is no where to write to! Call your host is my advice. Best Regards Bob Irwin Server Admin & Web Programmer Planet Netcom ----- Original Message ----- From: "Beau Hartshorne" <beau@members.evolt.org> To: "php-general" <php-general@lists.php.net> Sent: Thursday, August 22, 2002 12:24 PM Subject: [PHP] Session problems: "Warning: write failed: Disk quota exceeded" > Hi, > > Recently, my php app has started to throw these warnings: > > Warning: write failed: Disk quota exceeded (122) 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 narrowed it down to this code: > > <?php > session_start(); > session_register('anything'); > ?> > > (A test file containing only that will throw those two warnings.) > > The php version is 4.2.2. This script is running in a shared hosting > environment. My guess is that the ISP has misconfigured php, and has not > set the appropriate permissions to the /tmp directory. > > Does this make sense? Or is there something that I've missed? > > Thank you, > > Beau > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > Scanned by PeNiCillin http://safe-t-net.pnc.com.au/ > > Scanned by PeNiCillin http://safe-t-net.pnc.com.au/

« previous php.general (#113560) next »