Re: Text File Busy
| From: | Floyd Resler | Date: | Thu, 22 Oct 2009 13:35:16 +0000 |
| Subject: | Re: Text File Busy | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-299197@lists.php.net to get a copy of this message | ||
It happens on any file I try so there must be something else going on.
Thanks!
Floyd
On Oct 21, 2009, at 4:17 PM, Shawn McKenzie wrote:
Floyd Resler wrote:For some reason I'm getting a Text file busy error when I try to execute PHP scripts from the command line now. It used to work, but now it doesn't. I do have #!/usr/bin/php at the top of my script. If I feed the file to php (i.e. /usr/bin/php -f filename.php) it works. Of course, I can use this method but I was curious if anyone else has had similar problems and what the solution was. I'm guessing that something I installed is messing it up. Thanks! FloydThe file is open somewhere most likely. Try: lsof | grep filename.php --Thanks! -Shawn http://www.spidean.com