Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #7653

Re: file being saved causes fatal error.

From Jerry Stuckle <jstucklex@attglobal.net>
Newsgroups comp.lang.php
Subject Re: file being saved causes fatal error.
Date 2012-11-27 22:42 -0500
Organization A noiseless patient Spider
Message-ID <k94176$pmo$1@dont-email.me> (permalink)
References <5df82eb2-79d5-48c6-aae5-ac0d333b816b@googlegroups.com>

Show all headers | View raw


On 11/27/2012 9:28 PM, rodeored wrote:
> If a website user if trying to access a class file at the same time it is being saved, this causes a fatal error. Is there anyway to save the file without causing it to be unavailable for any amount of time?
>

No.  It's not PHP causing the problem - it's the OS.  While the file is 
being saved, a good OS will prevent any other process from reading the 
file.  Otherwise the other process may get part new, part old.

Before changing ANY files on a live system you should first take the 
system offline, then make you changes, and bring the system back online.

-- 
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

file being saved causes fatal error. rodeored <info1@reenie.org> - 2012-11-27 18:28 -0800
  Re: file being saved causes fatal error. Jerry Stuckle <jstucklex@attglobal.net> - 2012-11-27 22:42 -0500
    Re: file being saved causes fatal error. rodeored <info1@reenie.org> - 2012-11-28 07:57 -0800
      Re: file being saved causes fatal error. Robert Heller <heller@deepsoft.com> - 2012-11-28 11:30 -0600
      Re: file being saved causes fatal error. Jerry Stuckle <jstucklex@attglobal.net> - 2012-11-28 12:52 -0500
      Re: file being saved causes fatal error. The Natural Philosopher <tnp@invalid.invalid> - 2012-11-28 19:02 +0000
      Re: file being saved causes fatal error. Anders Wegge Keller <wegge@wegge.dk> - 2012-11-28 20:15 +0100
  Re: file being saved causes fatal error. "M. Strobel" <sorry_no_mail_here@nowhere.dee> - 2012-12-03 10:20 +0100

csiph-web