note 20233 deleted from function.exec by vincent

From: Date: Wed, 10 Sep 2003 19:01:37 +0000
Subject: note 20233 deleted from function.exec by vincent
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-56001@lists.php.net to get a copy of this message
Note Submitter: ---- Almost killed myself over this one! I kept getting "text file busy" errors in the Apache log (not PHP log) when executing Perl scripts from PHP. I did some research and found this can be caused by having the file in use by Samba. I was editing on my Windoze box, leaving the file open in my editor, and then previewing the result in a browser. As soon as I stopped accessing the Perl file through Samba (i.e. closing my editor, not displaying the file in Windoze Explorer), the problem disappeared. I was sure I had some sort of permissions problem, or wasn't closing a file, or something. But Samba appeared to be the culprit. FYI, Samba was writing as root, which DID cause a permissions issue, but I caught that early on and it didn't solve the "text file busy" error. Someone please berate me if this seems nuts...

« previous php.notes (#56001) next »